Deleting disconnected mailboxes in Exchange 2010

First you need to get a list of all the disconnected mailboxes –
Get-MailboxStatistics -Database “” | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid

Next step is to take the GUID of the account you want to delete and use this command –
Remove-Mailbox -Database “” -StoreMailboxIdentity

Share
About

Jeremy Whittaker is a Senior Consultant for N2 Network Solutions, a leader in Arizona computer consulting. Specializing in Exchange 2010, Cisco networking, and IT outsourcing.

Posted in Exchange Tagged with: , ,

Leave a Reply