DELETED MAILBOX NOT APPEARING IN DISCONNECTED MAILBOXES IN EXCHANGE 2010
Here are a couple of very simple commands that allow to force the clean up of mailboxes databases in Exchange 2010. It happens sometimes that when you delete a mailbox, it does not show up in the “Disconnected Mailboxes” container. This usually happens if the Exchange Online Maintenance has not run yet. Now, you may wait for it, but when it is critical that your user get the mailbox back, these commands might come very handy.
The first command is :
Note: The previous command will only clean up that one mailbox database that you specified.
To Clean up all your databases at one, you can pipe the previous command to another command called: Get-MailboxDatabase.
Your final command should look like :
Get-MailboxDatabase | Clean-MailboxDatabase