However, there is a marked
difference between both. Although the mail contact stores information about a person external to the
Exchange organization, it does not have access to internal resources in the forest. On the other hand, the
mail user has Active Directory logon credentials and has access to local resources to which they are
granted.
To create a new mail contact, use the New-MailContact cmdlet. This cmdlet creates a new mail contact
object in Active Directory and mail - enables the object. The ExternalEmailAddress parameter specifies
the target address or proxy address of the external person:
New-MailContact -Name ???John Doe??? -ExternalEmailAddress John@Foreigndomain.com -
OrganizationalUnit ForeignDomain
Figure 4-32
Chapter 4: Working with User and Group Objects
127
You can also enable an existing contact in Active Directory using the Enable-MailContact cmdlet and
specifying the external email address of the user. This cmdlet also requires that you specify the identity
of the existing contact to be mail - enabled:
Enable-MailContact -Identity ???John Doe??? -ExternalEmailAddress John@Foreigndomain.com
To create a new mail user, use the New-MailUser cmdlet:
New-MailUser -Name John -FirstName John -LastName Doe -ExternalEmailAddress
John@ForeignDomain.com -UserPrincipalName John@ExchangeExchange.
Pages:
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221