There is a special character in my password, the !, I tried escaping it with a \ like pa\!ssword which is what resulted in the last message. If I take out the escape and wrap the password like "pa!ssword" it tells me
-bash: !assword": event not found
I also tried using the credential store but no luck there, either:
vi-admin@lab-vma:~> /usr/bin/vmware-cmd -H lab-esxi1 --credstore /home/vi-admin/.vmware/credstore/vmacredentials.xml /vmfs/volumes/nfs2/lab-srv01/lab-srv01.vmx stop
Which results in:
Usage: vmware-cmd <options> <vm-cfg-path> <vm-action> <arguments>
vmware-cmd -s <options> <server-action> <arguments>
I've been looking through that documentation and all I can really find about authentication in the examples is they put "<connection_options>" without any real examples.
It might be I'm just being dense here, but I'm really not getting why it's not working. By the way, escaping the ! in the password with a \ works with the other commands (like vicfg-hostops)
Thanks!
h