esxi enables command line mode and commands to start virtual machines

Press F2 to log in on the esxi interface,
select troubleshooting options ,
select enable esxi shell
, return to the login interface, and then press alt+F1

Start the virtual machine from the command line:
1. Use the command to list the ID of the virtual machine:
vim-cmd vmsvc/getallvms |grep <vm name>
The first line output by this command is vmid
2. Use the command to check the startup status of the virtual machine:
vim- cmd vmsvc/power.getstate <vmid>
3. Start the virtual machine with the command:
vim-cmd vmsvc/power.on <vmid>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324517505&siteId=291194637