环境:两台 DC+Exchange 2013(前后端 in all)

故障:

在ECP新建用户邮箱出现

wKioL1c6otmwKnbuAACHIi0reaY704.png


使用EMS输入命令提示错误

wKiom1c6ogXxsPTvAAAqGllUH4c946.png


解决方法:

1.EMS输入命令提示错误,在服务器上带有管理员的powershell输入   

add-pssnapin *exchange* -erroraction SilentlyContinue

然后记得重启服务器。

2.新建用户邮箱出现负载平衡无法找到有效的邮箱数据库,在shell输入:

Get-mailboxdatabase| ft name,isexcludedfromprovisioning

显示数据库的isexcludedfromprovisioningTrue,然后继续输入

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)