Sometimes, we need to delete/remove a mailbox from one user account and reconnect it to other user account. When we delete/remove mailbox from Exchange 2007, we can’t see it immediately in the Disconnected Mailbox list under Recipient Configuration. In Exchange 2007, there is no GUI facility like “Run Clean Up Agent” in Exchange 2003.
To update the Disconnected Mailbox list, we need to use cmdlet in the Exchange Management Shell. Use the Clean-MailboxDatabase cmdlet against the mailbox database it was in.
Here is how to do it:
1. First, let’s list the Mailbox Databases that we have using the Get-MailboxDatabase cmdlet.
[PS] C:\> Get-MailboxDatabase
Name Server StorageGroup Recovery
---- ------ ------------ --------
Mailbox Database Server1 First Storage Group False
Executive Database Server1 Second Storage Group False
Mailbox Database Server2 First Storage Group False
Partner Database Server2 Second Storage Group False
2. Clean up the database. To clean up specific database on specific server, use these cmdlet:
[PS] C:\> Clean-MailboxDatabase "Server1\Mailbox Database"
[PS] C:\> Clean-MailboxDatabase "Server2\Partner Database"
After running the cmdlet you will see the disconnected mailbox in the Disconnected Mailbox list.