Power On a VM from ESXI command line
By: Kelly G
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
Archived Comments
Most Viewed Articles (in VMWare ) |
Latest Articles (in VMWare) |
Comment on this tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview