从Exchange 2013 CU1升级到CU2后,Exchange中的新PSSession错误 [英] New-PSSession error in Exchange after upgrading from Exchange 2013 CU1 to CU2
问题描述
将Exchange 2013 CU1升级到CU2后,我的PS命令出现以下错误。
After upgrading Exchange 2013 CU1 to CU2, I am getting below error for the PS command.
[PS] C:\ Windows \system32> $ Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri
https:// exchangecasfqdn / powerShell / -Authentication NegotiateWithImplicitCredential
[PS] C:\Windows\system32>$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://exchangecasfqdn/powerShell/ -Authentication NegotiateWithImplicitCredential
New-PSSession:[CASServer]连接到远程服务器hexcas01失败,并显示以下错误消息:
$
[Server = CASServer,RequestId = 54a64555-6293-43af-bc41-a6c3d83b985a,TimeStamp = 9/2/2013 12:20:37 PM]访问权限是否认。有关详细信息,请参阅about_Remote_Troubleshooting帮助主题。
$
在行:1 char:12
+ $ Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri ht .. 。$
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo :OpenError:(System.Manageme .... RemoteRunspace:RemoteRunspace)[New-PSSession],PSRemotin
gTransportException + FullyQualifiedErrorId:-2144108173,PSSessionOpenFailed
New-PSSession : [CASServer] Connecting to remote server hexcas01 failed with the following error message :
[Server=CASServer,RequestId=54a64555-6293-43af-bc41-a6c3d83b985a,TimeStamp=9/2/2013 12:20:37 PM] Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:12
+ $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri ht ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException + FullyQualifiedErrorId : -2144108173,PSSessionOpenFailed
推荐答案
Vishal,
Vishal,
我也遇到了同样的问题,我发现了一个解决方法。
I was also facing the same issue, I found a workaround.
在IIS上创建一个新的应用程序,将其命名为Powershell2并指向"C:\Program Files \ Microsoft"。 Exchange Server \ V15 \ClientAccess \ PowerShell"并启用了Windows身份验证。
create a new Application on IIS name it as Powershell2 and point to "C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\PowerShell" and made windows authentication enabled.
修改后的PS命令:
Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri
https:// exchangecasfqdn / powerShell2 / -Authentication NegotiateWithImplicitCredential
Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://exchangecasfqdn/powerShell2/ -Authentication NegotiateWithImplicitCredential
谢谢
这篇关于从Exchange 2013 CU1升级到CU2后,Exchange中的新PSSession错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!