EMS恢复禁用邮箱

使用PowerShell命令恢复禁用邮箱

键入以下命令:

[PS] C:\Windows\system32>Get-MailboxDatabase | Get-MailboxStatistics | where {$_.DisconnectReason -eq "Disabled"}|FL Dis
playName,Database,DisconnectReason

 

[PS] C:\Windows\system32>Connect-Mailbox -Identity "'test27" -Database TestDB01 -User "test27"

 

[PS] C:\Windows\system32>Get-Mailbox test27

 

 

第一条命令,显示所有邮箱数据中被禁用的邮箱。

第二条命令,重新连接邮箱到同名的目标Active Directory用户。

第三条命令,验证目标邮箱是否被启用。

posted @ 2019-01-04 18:43  cnxiaol  阅读(271)  评论(0编辑  收藏  举报