標題:
exchange 2007 刪除或清空-己斷開連線的郵箱
[打印本頁]
作者:
chun
時間:
2015-5-25 14:39
標題:
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" -confirm
false
範例
Remove-Mailbox -Database "Mailbox Database" -StoreMailboxIdentity "5675eaee-2d18-4ad5-b760-fc16d22c9f4d" -confirm
false
歡迎光臨 百利工頭 (http://bb.pc104.tw/)
Powered by Discuz! 6.0.0