List All ESXi Hosts on vCenter
The following command is used to list all ESXI hosts on vCenter:
# ovftool --X:logFile=ovftool-log.txt --X:logLevel=verbose vi://[user[:pass]@]vCenter FQDN|IP/location/folder/host/
Error: Found wrong kind of object (Folder). Possible completions are:
ESXi1.qualys.com/
ESXi2.qualys.com/
ESXi3.qualys.com/
You can see suggestions listed if you did not provide an ESXi hostname.