Managing disconnected mailboxes
Exchange allows us to disassociate a mailbox from an Active Directory user account, and later reconnect that mailbox to an Active Directory account. For some organizations, a mailbox database has a low deleted mailbox retention setting, and once a mailbox has been removed from a user, it is forgotten about and purged from the database once the retention period elapses. However, if you maintain your deleted mailboxes for any amount of time, having the ability to retrieve these mailboxes after they have been removed from a user can be very helpful at times. In this recipe, we will take a look at how to manage disconnected mailboxes using the Exchange Management Shell.
How to do it...
To reconnect a disconnected mailbox to a user account, use the Connect-Mailbox
cmdlet. The following example reconnects a disconnected mailbox to the tuser1009
account of the Active Directory:
Connect-Mailbox -Identity 'Test User' ` -Database DB1 ` -User 'contoso\tuser1009' ` -Alias...