適用平臺: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} }
更多內容您也能夠關注下方微信公衆號獲取ide