Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unknown operation name #90

Open
toren77 opened this issue Feb 19, 2019 · 3 comments
Open

Error: Unknown operation name #90

toren77 opened this issue Feb 19, 2019 · 3 comments

Comments

@toren77
Copy link

toren77 commented Feb 19, 2019

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

@masterzen
Copy link
Owner

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.

@toren77
Copy link
Author

toren77 commented Feb 19, 2019

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

@masterzen
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants