Removing Disconnected Mailbox

Running out of space on DB partition on one of the DAG member ,  needed some space back

Get-MailboxStatistics -Database G12-A1 | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid

gives all the disconnected accounts waiting to be deleted.

We need to copy the Guid and run the cmdlet below

Remove-Mailbox -database G12-A1 -StoreMailboxIdentity dd24b3c5-d4c0-4c83-9ca2-8b0e17b5b847

Bir kaynaktan alıntıdır.

Leave a Comment

Your email address will not be published. Required fields are marked *