When you run vmware-cmd, the virtual machine path is usually required.

You can specify the virtual machine by using one of the following formats.

Type Syntax Examples
Datastore prefix style
'[ds_name] relative_path'
  • '[myStorage1] testvms/VM1/VM1.vmx' (Linux)
  • "[myStorage1] testvms/VM1/VM1.vmx" (Windows)
UUID-based path
folder/subfolder/file
  • '/vmfs/volumes/mystorage/testvms/VM1/VM1.vmx' (Linux)
  • "/vmfs/volumes/mystorage/testvms/VM1/VM1.vmx" (Windows)