發新話題
打印

exchange 2007 刪除或清空-己斷開連線的郵箱

exchange 2007 刪除或清空-己斷開連線的郵箱

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" -confirmfalse

範例
Remove-Mailbox -Database "Mailbox Database" -StoreMailboxIdentity  "5675eaee-2d18-4ad5-b760-fc16d22c9f4d" -confirmfalse

TOP

發新話題