Wednesday, 7 November 2012

PowerShell - Error when attempting to enable PS remoting.

Whilst enabling PowerShell remoting on our SCCM site servers I encountered this error.

Set-WSManQuickConfig : The WinRM client cannot process the request. It cannot determine the content type of the HTTP re
sponse from the destination computer. The content type is absent or invalid.
At line:50 char:33
+             Set-WSManQuickConfig <<<<  -force
    + CategoryInfo          : InvalidOperation: (:) [Set-WSManQuickConfig], InvalidOperationException
    + FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.SetWSManQuickConfigCommand

1 \ Set the following two registry keys.
MaxFieldLength - 65534
MaxRequestBytes - 16777216
2\ Restart the server.

1 comment:

  1. This doesnt work for me - i am not getting this error with Exchange as is mentioned on google. - Content Type Response Error still when using enter-pssession to SP4 from server - both on WMF 5