From VI-Toolkit
Jump to: navigation, search

vimsh vmsvc/getallvms

Usage: getallvms

Get the list of virtual machines on the host.

example output

# vim-cmd -H -U root -P password /vmsvc/getallvms
Vmid    Name               File                 Guest OS       Version   Annotation
64     bartPE    [store] BartPE/BartPE.vmx     winXPProGuest     vmx-04
96     trustix   [store] Trustix/Trustix.vmx   otherLinuxGuest   vmx-04


This command can be used to replace the old -obsolete- ESX CLI command:

vmware-cmd -l