'The WinRM Shell client cannot process the request' 错误, Exchange 2013 PowerShell

背景描述:

=====

在测试环境中搭建了Exchange2013服务器,更换了证书,并安装相关更新以及重启。重启之后,PowerShell中出现以下错误;

wKiom1WLnimAm--dAANqfdgmw1c901.jpg

VERBOSE: Connecting toPNL-EX2013.petenetlive.net.
New-PSSession : [pnl-ex2013.petenetlive.net] Processing data from remote serverpnl-ex2013.petenetlive.net failed with the following error message: The WinRMShell client cannot process the request. The shell handle passed to the WSManShell function is not valid. The shell handle is valid only whenWSManCreateShell function completes successfully.
Change the request including a valid shell handle and try again. For moreinformation, see the
about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationNameMicrosoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace)[New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : -2144108212,PSSessionOpenFailed
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.:

 

分析及解决方案:

=====

在修改之前,一切运行都是正常的,所有的管理功能都是基于IIS的,所以首先去检查IIS上的配置,发现“ExchangeBack Endsite里的bindings设置中,https没有选择证书;

wKioL1WLoAjT07IfAAIZKNr7w_E100.jpg 

选择正确的证书,PowerShell中一切运行恢复正常;

wKiom1WLnmyyKRJxAAEnFNSixu8383.jpg

你可能感兴趣的:(Exchange,2013,powershell)