
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.
c04.indd 118c04.indd 118 12/17/07 5:27:35 PM12/17/07 5:27:35 PM