I have enabled WinRM on a Windows 2008 server

winrm quickconfig
winrm set winrm/config/Client @{AllowUnencrypted = "true"}
Set-Item WSMan:localhost\client\trustedhosts -value *

For now, WinRM works, and so does PS-Remoting, e.g

Enter-PSSession -ComputerName XXXX

Now, when I try the WinRS, aka

winrs -r:http://SERVER-01/wsman cmd

It says The WinRM client sent a request to an HTTP server and got a response saying the requested HTTP URL was not available

enter image description here

Any ideas?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.