Vmsvc/getallvms: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
==== example output ==== | ==== example output ==== | ||
# | # vim-cmd -H 10.10.10.10 -U root -P password /vmsvc/getallvms | ||
Vmid Name File Guest OS Version Annotation | Vmid Name File Guest OS Version Annotation | ||
64 bartPE [store] BartPE/BartPE.vmx winXPProGuest vmx-04 | 64 bartPE [store] BartPE/BartPE.vmx winXPProGuest vmx-04 | ||
96 trustix [store] Trustix/Trustix.vmx otherLinuxGuest vmx-04 | 96 trustix [store] Trustix/Trustix.vmx otherLinuxGuest vmx-04 | ||
==== note ==== | |||
This command can be used to replace the old -obsolete- ESX CLI command: | |||
vmware-cmd -l | |||
[[Category: Vimsh]] | [[Category: Vimsh]] |
Latest revision as of 12:05, 23 July 2013
vimsh vmsvc/getallvms
Usage: getallvms
Get the list of virtual machines on the host.
example output
# vim-cmd -H 10.10.10.10 -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
note
This command can be used to replace the old -obsolete- ESX CLI command:
vmware-cmd -l