适用平台:Exchange Server 2010 此命令将检查所有邮箱服务器,并重新连接任何一个邮箱存储中所有被唯一标识但已断开连接的邮箱: ``` $Servers = Get-ExchangeServer $Servers | ` Where { $_.IsMailboxServer -Eq '$True' } ` | ForEach { Get-MailboxStatistics -Server $_.Name ` | Where { $_.DisconnectDate -NotLike '' } ` | ForEach { Connect-Mailbox -Identity ` $_.DisplayName -Database $_.DatabaseName} } ``` 更多内容您也可以关注下方微信公众号获取 ![](https://s1.51cto.com/images/blog/201903/25/c8b0e85aec4ec26a9ffbc73415857653.jpg?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)