Programming Tutorials

(追記) (追記ここまで)

Power On a VM from ESXI command line

By: Kelly G in Cloud Tutorials on 2022年05月16日 [フレーム]

To power on a VM from ESXI command line, follow the below steps:

Step 1: List down all VMs

vim-cmd vmsvc/getallvms 

or if you know the name of the VM then filter the list using grep like below

vim-cmd vmsvc/getallvms | grep vm name 

Note: The first (leftmost) column of the output shows the vmid.

Step 2:Check the power state of the virtual machine with the command:

vim-cmd vmsvc/power.getstate vmid

Step 3:Power-on the virtual machine with the command:

vim-cmd vmsvc/power.on vmid 



(追記) (追記ここまで)


Add Comment

JavaScript must be enabled for certain features to work
* Required information
1000

Comments

No comments yet. Be the first!
(追記) (追記ここまで)
(追記) (追記ここまで)

AltStyle によって変換されたページ (->オリジナル) /