¡m¤À¨É¡nµLªk¦b²¾°Ê«á²M²z¨Ó·½«H½c | |
¦P¤¯«H½c¦b²¾°Ê¨ì·sªºMAILBOXDATABASE«á¡A
¥X²{ĵ§i°T®§¡A¨Ó·½«H½cµLªk§R°£¡H
¿ù»~°T®§¦p¤U¡G
ĵ§i: µLªk¦b²¾°Ê«á²M²z¨Ó·½«H½c.
¿ù»~¸Ô²Ó¸ê®Æ: MapiExceptionUnexpectedMailboxState: Unable to delete mailbox. (hr=0x80004005, ec=2634)
¦bºô¸ô¤W§ä¨ì¤F¥H¤U°µªk¡A¦¨¥\ªº§â¨Ó·½«H½c§R°£¤F¡ã
²Ä¤@¨B¡A¨ú±o¨Ï¥ÎªÌMAILBOXGUID
Get-MailboxStatistics -Database <MAILBOXDATABASE> | Where { $_.DisconnectReason -eq "SoftDeleted" } | Format-List LegacyDN, DisplayName, MailboxGUID, DisconnectReason
¨ä¤¤ <MAILBOXDATABASE> ¬°«H½c¸ê®Æ®w¦WºÙ¡A¥i¥ÎÂù¤Þ¸¹®Ø°_¨Ó¡C
°õ¦æ«á¡A·|¦C¥X°ÝÃD¨Ï¥ÎªÌ«H½cªº MAILBOXGUID¡C
²Ä¤G¨B¡A§Q¥Î MAILBOXGUID ¨Ó§R°£¨Ï¥ÎªÌ¨Ó·½¨Ó·½
Remove-StoreMailbox -Database <MAILBOXDATABASE> -Identity MAILBOXGUID -MailboxState Softdeleted
¨ä¤¤ MAILBOXGUID ¬°²Ä¤@¨B©Ò§ä¨ìªº MAILBOXGUID¡C
¿é¤J«á·|¥X²{¬O§_n§R°£ªº¸ß°Ý¹ï¸Ü®Ø¡A«ö Y ´N¹ï°Õ¡ã
♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã
If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!
|