http://www.harrycaskey.com/delete-disconnected-mailbox-from-exchange-2007/
查詢斷開郵箱的guid
Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid
移除斷開郵箱的guid
Remove-Mailbox -Database "Mailbox Database" -StoreMailboxIdentity "MailboxGuid" -confirm
false
範例
Remove-Mailbox -Database "Mailbox Database" -StoreMailboxIdentity "5675eaee-2d18-4ad5-b760-fc16d22c9f4d" -confirm
false