First, however, you must disable the
linked mailbox and then reconnect the Mailbox object to a user object in the same Active Directory
forest as the Exchange server:
Disable-Mailbox -Identity Mslinked
Connect-Mailbox -Identity Mslinked -Database ???Mailbox Database??? -User UserLocalAD
The New-Mailbox cmdlet is used to create a new shared mailbox. This requires the shared switch
parameter of the New-Mailbox cmdlet. All other parameters remain the same, as shown in Figure 4 - 27 .
Figure 4-27
Modifying a User Mailbox
After a user mailbox is created, several operations could be performed on the user mailbox ranging from
changing one or more attributes to disconnecting and removing the mailbox.
Disabling, Disconnecting, or Removing a User Mailbox
When a user leaves an Exchange organization or due to some administrative reason, it may be necessary
to remove the user ??™ s mailbox. The Remove-Mailbox cmdlet is used to accomplish this, however keep in
mind that this cmdlet also removes the Active Directory user object. To disconnect the mailbox for user
Mstest from Mstest ??™ s user account and also delete the user account, run the following command:
Remove-Mailbox -Identity ExchangeExchange\Mstest
To immediately delete the mailbox and the user account for Mstest , run the following command:
Remove-Mailbox -Identity ExchangeExchange\Mstest -Permanent $true
In both cases, you are prompted to confirm the deletion before proceeding.
Pages:
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211