List all VMs on a Particular ESXi Host
The following command is used to list all VMs on a ESXi host:
~]# ovftool --X:logFile=ovftool-log.txt --X:logLevel=verbose vi://[user[:pass]@]vCenter FQDN|IP/location/folder/host/ESXi1.qualys.com/Resources/
Error: Found the wrong kind of object (ResourcePool). Possible completions are:
VM-instance1
VM-instance2
VM-instance3