I am using Windows 2008 R2 with Exchange 2013

I am trying to connect to my exchange server with the following command but receive an error each time:

$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://somemachine/Powershell -Authentication Kerberos

The error I am receiving is:

New-PSSession : [somemachine.com] Connecting to remote server somemachine failed with the following error message : The WinRM client sent a request to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually returned by a HTTP server that does not support the WS-Management protocol. For more information, see the about_Remote_Troubleshooting Help topic.

I have tried several things including installing the feature WINRM IIS Extension and the advice found here http://support.microsoft.com/kb/2027062 with no luck...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.