2015-07-14 13 views
1

Я хотел бы подключиться к Exchange Server 2010 с помощью PowerShell.Ошибка подключения PowerShell к Exchange Server

Я использую следующую команду:

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

PS C:\Windows\system32> $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://<serverName>/powershell-liveid/ -Credential $UserCredential -Authenticat

В этот момент я получил следующее сообщение об ошибке:

WARNING: Your connection has been redirected to the following URI: "https://****************/owa/pow ershell-liveid " New-PSSession : [******************] Connecting to remote server **************** failed with the following error message : The WinRM client received an HTTP status code of 440 from the remote WS-Management service. 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], PSRemotingTransportException + FullyQualifiedErrorId : -2144108273,PSSessionOpenFailed

Я пытался найти это 440 Ошибка и выяснить, какая именно причина этой ошибки, но не получил никакого результата. Может кто-нибудь, пожалуйста, дать некоторые идеи о том, почему это не удается и как это исправить?

ответ