Error: Unknown operation name
Hi
I try winrm on windows powershell winrm -hostname "54.165.199.168" -username "Administrator" -password "secret" "ipconfig /all"
getting folowing error Error: Unknown operation name: '54.165.199.168'
same error appears with diffrent IPs
go version go1.11.5 windows/amd64
It would be interesting to see if that works with the normal windows winrs client.
If you get the same error then that's probably not the fault of this winrm client, but the server.
PS C:\Users\PCDA> Test-netConnection 54.165.199.168 -Port 5985
ComputerName : 54.165.199.168 RemoteAddress : 54.165.199.168 RemotePort : 5985 InterfaceAlias : Ethernet SourceAddress : 192.168.2.106 TcpTestSucceeded : True
@toren77, thanks this shows the connection is possible, but doesn't validate the other end winrm handler is correctly enabled.
I was more thinking about using another winrm client, such as winrs and check you can conclude a winrm transaction with the other end.