Exchange 2013 - Purging mailboxes
-
We have 3 Exchange databases. I have 4 users who have disconnected mailboxes, 2 of them I cannot wait for the expiration to run out. I need to purge them right now because it's for an active user that I'm testing with, and need everything clean. I've tried the Get-MailboxDatabase | Clean-MailboxDatabase but Exchange Management Shell says Clean-MailboxDatabase is not a valid entry. I've tried various links from Google but nothing is working. How can I purge disconnected mailboxes from all databases, right now? Here's links I tried:
https://technet.microsoft.com/en-us/library/bb232039(v=exchg.150).aspx
http://exchangeblog.pl/en/2012/08/how-to-remove-purge-disconnected-mailboxes/
-
Nvm, I finally found the right command.
Remove-Mailbox -Identity "First Last" -Permanent $true