Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Powershell连接到Exchange服务器失败_Powershell_Connection_Exchange Server_Http Error - Fatal编程技术网

Powershell连接到Exchange服务器失败

Powershell连接到Exchange服务器失败,powershell,connection,exchange-server,http-error,Powershell,Connection,Exchange Server,Http Error,我想使用PowerShell连接到Exchange Server 2010 我正在使用以下命令: PS C:\Windows\system32>$UserCredential=Get-Credential PS C:\Windows\system32>$Session=New PSSession-ConfigurationName Microsoft.Exchange-ConnectionUrihttps:///powershell-liveid/ -凭证$UserCredential-认证 此

我想使用PowerShell连接到Exchange Server 2010

我正在使用以下命令:

PS C:\Windows\system32>$UserCredential=Get-Credential

PS C:\Windows\system32>$Session=New PSSession-ConfigurationName Microsoft.Exchange-ConnectionUrihttps:///powershell-liveid/ -凭证$UserCredential-认证

此时,我收到以下错误消息:

警告:您的连接已重定向到以下URI:“https://******************/owa/pow” 埃尔希尔·利维德” 新PSSession:[*********************]连接到远程服务器失败 出现以下错误消息:WinRM客户端从远程服务器接收到HTTP状态代码440 WS-Management服务。有关更多信息,请参阅关于远程故障排除帮助主题。 第1行字符:12 +$Session=New PSSession-ConfigurationName Microsoft.Exchange-ConnectionUri ht。。。 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CategoryInfo:OpenError:(System.Manageme….RemoteRunspace:RemoteRunspace)[New PSSession], PSRemotingTransportException +FullyQualifiedErrorId:-2144108273,PSSessionOpenFailed


我试图搜索这个440错误,找出这个错误的确切原因,但没有结果。有人能告诉我为什么它会失败以及如何修复它吗?

在我管理的所有exchange服务器上,uri都是