Version:
❯ knife --version
Chef Infra Client: 15.7.32
Environment:
Linux 5.3.0-7642-generic (Pop! OS)
Scenario:
Trying to execute some command on windows server using knife winrm
Steps to Reproduce:
knife winrm "name:windows_test_node" "ipconfig" -x "Administrator" -P "password"
Expected Result:
To show output of ipconfig
Actual Result:
ERROR: knife encountered an unexpected error
This may be a bug in the 'winrm' knife command or plugin
Please collect the output of this command with the `-VVV` option before filing a bug report.
Exception: NoMethodError: undefined method `times' for nil:NilClass
Version:
❯ knife --version
Chef Infra Client: 15.7.32
Environment:
Linux 5.3.0-7642-generic (Pop! OS)
Scenario:
Trying to execute some command on windows server using
knife winrmSteps to Reproduce:
knife winrm "name:windows_test_node" "ipconfig" -x "Administrator" -P "password"Expected Result:
To show output of
ipconfigActual Result: