You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test remote WQL features via WinRM should run a CMD command string
Failure/Error: output = @winrm.run_cmd('ipconfig /all')
WinRM::WinRMHTTPTransportError:
Bad HTTP response returned from server (401).
Example output from one:
Failure/Error: output = @winrm.run_cmd('ipconfig /all')
WinRM::WinRMHTTPTransportError:
Bad HTTP response returned from server (401).
/Users/timgreen/Desktop/WinRM/lib/winrm/http/transport.rb:48:in `send_request'
/Users/timgreen/Desktop/WinRM/lib/winrm/winrm_service.rb:368:in`send_message'
/Users/timgreen/Desktop/WinRM/lib/winrm/winrm_service.rb:113:in `open_shell'
/Users/timgreen/Desktop/WinRM/lib/winrm/winrm_service.rb:239:in`run_cmd'
./spec/cmd_spec.rb:11:in `block (2 levels) in <top (required)>'