Anda di halaman 1dari 1

To power on a virtual machine from the command line:

List the inventory ID of the virtual machine with the command:


1 vim-cmd vmsvc/getallvms |grep <vm name>
Note: The first column of the output shows the vmid.
Check the power state of the virtual machine with the command:
2 vim-cmd vmsvc/power.getstate <vmid>
Power-on the virtual machine with the command:
3 vim-cmd vmsvc/power.on <vmid>
///apagar un vm a la mala pq se quedo pegado
1: esxcli vm process list
2: esxcli vm process --kill [soft, hard, force] --word-id="id" -> en nuestro ca
so se eligio force para q fuerze el apagado
esxcli vm process kill -t [soft, hard, force] -w "ID"

Anda mungkin juga menyukai