For When You Can't Have The Real Thing
[ start | index | login ]
start > VMware > ESXi > 6.0 > ESX-Shell VM Manipulation

ESX-Shell VM Manipulation

Created by dave. Last edited by dave, 4 years and 155 days ago. Viewed 831 times. #2
[diff] [history] [edit] [rdf]


Gui no work. Need VMs running while GUI problem investigated.


List VMs:

[root@gw-esxi-03:~] vim-cmd vmsvc/getallvms
Vmid      Name                       File                      Guest OS      Version   Annotation
1      graylog-01   [datastore1] graylog-01/graylog-01.vmx   rhel6_64Guest   vmx-10

Check power state, VM 1:

[root@gw-esxi-03:~] vim-cmd vmsvc/power.getstate 1
Retrieved runtime info
Powered off

Turn on manually:

[root@gw-esxi-03:~] vim-cmd vmsvc/power.on 1
Powering on VM:
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt