I seem to be having any issues communication directly with a VM when trying to use vmrun.
For example I can run
vmrun -T esx -h https://<hostname>:port/sdk -u <user> -p <password> list
and the running VMs comes up fine.
[datastore] VM/vm.vmx
But when I try to say restart the VM and enter
vmrun -T esx -h https://<hostname>:port/sdk -u <user> -p <password> reset "[datastore] VM/vm.vmx" soft
I receive invalid syntax.
I made sure the command exactly matches the using VMRun to control VMs guide
I also made sure I am typing the datastore path exaclty as it comes up when I do a list
I even did a copy past to take me making a typo out of equation.
Any thoughts?
hopefully you are using latest supported VIX? Seen some issues with older/incompatible versions in the forum.
hopefully you are using latest supported VIX? Seen some issues with older/incompatible versions in the forum.
Can you post the exact error message vmrun is printing?
Also, which version of VIX are you using?
That was it
I was at version 1.10.0.12331 but I upgraded to version 1.11 and it works great
Thanks