Closed martinmosegaard closed 6 years ago
I think you want to quote chef-client --version
otherwise --version
gets pased as an arg of knife winrm
Thanks for helping out @mwrock, you are right . I see some of the commands in the README are quoted too.
Could we enhance knife winrm --version
to also print the version of knife-windows
? As a more convenient way than doing chef gem list knife-windows
.
If I want to see the
chef-client
version of a node, I try to run something like this:But instead it prints the version of chef-client on the workstation where I am executing
knife
. So it matches this:The chef-client version on the remote machine in this case was 12.21.10