Get - DistributionGroup
This cmdlet queries for existing Distribution Groups in Active Directory. These groups could be either
Distribution Groups used to send mails to multiple Recipients that match a specified filter or Security
Groups used to assign permissions to resources for multiple users that match a specified filter. The list of
parameters is shown here. For a detailed list run the following in the Exchange Management Shell:
get-help Get-DistributionGroup -detailed .
Get-DistributionGroup [-Identity < DistributionGroupIdParameter > ] [-Credential
< PSCredential > ] [-DomainController < Fqdn > ] [-ManagedBy
< GeneralRecipientIdParameter > ] [-OrganizationalUnit
< OrganizationalUnitIdParameter > ] [-ReadFromDomainController < SwitchParameter > ]
[-RecipientTypeDetails < RecipientTypeDetails[] > ] [-ResultSize < Unlimited > ] [-SortBy
< String > ] [ < CommonParameters > ]
Get-DistributionGroup [-Credential < PSCredential > ] [-DomainController < Fqdn > ]
[-Filter < String > ] [-ManagedBy < GeneralRecipientIdParameter > ] [-OrganizationalUnit
< OrganizationalUnitIdParameter > ] [-ReadFromDomainController < SwitchParameter > ]
[-RecipientTypeDetails < RecipientTypeDetails[] > ] [-ResultSize < Unlimited > ] [-SortBy
< String > ] [ < CommonParameters > ]
Get-DistributionGroup [-Anr < String > ] [-Credential < PSCredential > ]
(continued)
Part I: PowerShell for Exchange Fundamentals
92
[-DomainController < Fqdn > ] [-ManagedBy < GeneralRecipientIdParameter > ]
[-OrganizationalUnit < OrganizationalUnitIdParameter > ] [-ReadFromDomainController
< SwitchParameter > ] [-RecipientTypeDetails < RecipientTypeDetails[] > ] [-ResultSize
< Unlimited > ] [-SortBy < String > ] [ < CommonParameters > ]
Some key parameters to note include:
??‘ RecipientTypeDetails < RecipientTypeDetails[] > : Exchange Server 2007 further
distinguishes the group types returned by this parameter.
Pages:
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170