2013年8月29日 星期四

Exchange 無法在移動後清理來源信箱.

此方法無效


警告: 無法在移動後清理來源信箱.
錯誤詳細資料: MapiExceptionUnexpectedMailboxState: Unable to delete mailbox. (hr=0x80004005, ec=2634)



To Speed up the move request:
On ALL CAS Servers
Edit C:\Program Files\Microsoft\Exchange Server\V14\Bin\MSExchangeMailboxReplication.exe.config
--Find the following counter: “maxCleanupRetries”
--The default value is 5. Change to 1.
Restart MSExchangeMailboxReplication Service

To Clean up a Soft Deleted Mailbox on a database:
Get-MailboxStatistics -Database <MAILBOXDATABASE> | Where { $_.DisconnectReason -eq "SoftDeleted" } | Format-List LegacyDN, DisplayName, MailboxGUID, DisconnectReason
Remove-StoreMailbox -Database <MAILBOXDATABASE> -Identity <MAILBOXGUID> -MailboxState Softdeleted

To Clean up all Soft Deleted Mailboxes on a database:
Get-MailboxStatistics -Database <MAILBOXDATABASE> | Where-Object {$_.DisconnectReason -eq “Softdeleted”} | ForEach {Remove-StoreMailbox -Database $_.database -identity $_.mailboxguid -MailboxState Softdeleted}


Remove-StoreMailbox -Database db_name -Identity "User name" -MailboxState Softdeleted

沒有留言:

張貼留言