User and Group Object Types
An Exchange Recipient or group object is an Active Directory Services user, contact, or group object that
has associated Exchange mail or mailbox properties that enable receipt or delivery of mail. Before
reviewing the Exchange Management Shell operations in creating or modifying user and group objects,
it would be helpful to identify these object types.
Chapter 4: Working with User and Group Objects
87
This section covers the following cmdlets for identifying user and group object types available in
Exchange Server 2007:
??‘ Get-Recipient
??‘ Get-User
??‘ Get-Mailbox
??‘ Get-MailUser
??‘ Get-Contact
??‘ Get-MailContact
??‘ Get-Group
??‘ Get-DistributionGroup
??‘ Get-DynamicDistributionGroup
??‘ Get-OrganizationConfig
??‘ Get-MailPublicFolder
Get - Recipient
This is perhaps one of the most commonly used cmdlets for returning Recipient objects and their
attributes in Active Directory. The list of parameters is shown here. For a detailed list run the following
in the Exchange Management Shell: get-help Get-Recipient -detailed .
Get-Recipient [-Identity < RecipientIdParameter > ] [-Credential < PSCredential > ]
[-DomainController < Fqdn > ] [-OrganizationalUnit < OrganizationalUnitIdParameter > ]
[-ReadFromDomainController < SwitchParameter > ] [-RecipientType < RecipientType[] > ]
[-RecipientTypeDetails < RecipientTypeDetails[] > ] [-ResultSize < Unlimited > ] [-SortBy
< String > ] [ < CommonParameters > ]
Get-Recipient [-Credential < PSCredential > ] [-DomainController < Fqdn > ]
[-IgnoreDefaultScope < SwitchParameter > ] [-OrganizationalUnit < OrganizationalUnit
IdParameter > ] [-ReadFromDomainController < SwitchParameter > ] [-RecipientPrev
iewFilter < String > ] [-RecipientType < RecipientType[] > ] [-RecipientTypeDetails
< RecipientTypeDetails[] > ] [-ResultSize < Unlimited > ] [-SortBy < String > ]
[ < CommonParameters > ]
Get-Recipient [-Anr < String > ] [-Credential < PSCredential > ] [-DomainController
< Fqdn > ] [-IgnoreDefaultScope < SwitchParameter > ] [-OrganizationalUnit
< OrganizationalUnitIdParameter > ] [-ReadFromDomainController < SwitchParameter > ]
[-RecipientType < RecipientType[] > ] [-RecipientTypeDetails < RecipientTypeDetails[] > ]
[-ResultSize < Unlimited > ] [-SortBy < String > ] [ < CommonParameters > ]
This cmdlet does not have any required parameters and running it with no parameters returns a
complete list of all Recipients in the organization.
Pages:
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162