Hence the following parameters must be
specified: LinkedDomainController , LinkedMasterAccount , and LinkedCredential . The example
in Figure 4 - 25 and Figure 4 - 26 shows how to create a new linked mailbox. This command creates a new
linked mailbox called ??? Mslinked Exch??? to be accessed by the user called RemoteAdmin in the
Gamisoft Active Directory forest.
Part I: PowerShell for Exchange Fundamentals
118
First you specify the account to be used to access the linked domain controller in the external forest and
you are prompted for its credentials. After supplying the credentials, the linked mailbox is successfully
created Using the Get-Recipient cmdlet you verify that the mailbox created is indeed a linked
mailbox. (See Figure 4 - 26 .)
Figure 4-25
Figure 4-26
As an option, rather than being prompted for the password, you can use the Get-Credential cmdlet to
specify the account to be used to access the external forest. This cmdlet creates a credential object for a
specified username and password. When a username and password are specified, the cmdlet creates a
PSCredential object representing the credentials passed. You can assign it to a variable object and use
the variable as an input to cmdlets requesting user authentication.
Chapter 4: Working with User and Group Objects
119
You can easily convert a linked mailbox to a regular user mailbox.
Pages:
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210