環境:兩臺 DC+Exchange 2013(前後端 in all)
故障:
在ECP新建用戶郵箱出現
使用EMS輸入命令提示錯誤
解決方法:
1.EMS輸入命令提示錯誤,在服務器上帶有管理員的powershell輸入
add-pssnapin *exchange* -erroraction SilentlyContinue
然後記得重啓服務器。
2.新建用戶郵箱出現負載平衡無法找到有效的郵箱數據庫,在shell輸入:
Get-mailboxdatabase| ft name,isexcludedfromprovisioning
顯示數據庫的isexcludedfromprovisioning爲True,然後繼續輸入
Get-mailboxdatabase | set-mailboxdatabase-isexcludedfromprovisioning $false
就可以新建用戶郵箱了。
關於isexcludedfromprovisioning的意思
The IsExcludedFromProvisioning parameter hashave two valid values, $True and $False. When you set this property to $True,the mailbox database is excluded from the automatic distribution process. Whenyou set it to $False, the mailbox database is included in the automaticdistribution process. The default value is $False.
參考鏈接:https://technet.microsoft.com/en-us/library/ff477621(v=exchg.150)