Включение ВМ EXSi из командной строки

vim-cmd vmware-cmd

Включение ВМ EXSi из командной строки

ESXi 4.x, 5.x and 6.0

To power on a virtual machine from the command line:

  1. vim-cmd vmsvc/getallvms |grep \<vm name> Note: The first column of the output shows the vmid. List the inventory ID of the virtual machine with the command:
  2. vim-cmd vmsvc/power.getstate \<vmid> Check the power state of the virtual machine with the command:
  3. vim-cmd vmsvc/power.on \<vmid> Power-on the virtual machine with the command:

ESX 4.0 and ESX 4.1

To power on a virtual machine from the command line:

  1. To list the path of all the virtual machines on the host:
  2. Get the state of the virtual machine with the command:
  3. Power on the virtual machine with the command:

ESXi 3.5

To power on a virtual machine from the command line:

  1. List the inventory ID of the virtual machine with the command:
  2. Check the power state of the virtual machine with the command:
  3. Power on the virtual machine with the command:

ESX 3.5

To power on a virtual machine from the command line:

  1. vmware-cmd -l To list the path of all the virtual machines on the host:
  2. Get the state of the virtual machine with the command:
  3. Power on the virtual machine with the command: