Home · Latest · Trends  /  Virtual Machine
0

Power on a vmware virtual machine from the command line

rated 0 times [  0] [ 0]  / comments: 5 / hits: 1441  / 3 yaers ago, wed, feb 22, 2017, 13:52:39
This is how you would list available VMs, get their state, then power them on/off via command line / shell.
# List the inventory ID of the virtual machine with the command:
vim-cmd vmsvc/getallvms |grep <vm name>

# Check the power state of the virtual machine with the command:
vim-cmd vmsvc/power.getstate <vmid>

# Power-on the virtual machine with the command:
vim-cmd vmsvc/power.on <vmid>
More From » Virtual Machine
 

Comments

-1
In KVM:
#List Running VMs:
virsh list

#List All VMs:
virsh list --all

#Start a VM:
virsh start VM_NAME
[#2] Monday, March 20, 2017, 11:41:42
 
dj
commented 3 yaers ago
dj
0
Virtual machines are the working device using for many purpose of the working stability and the error solution of the programme. The latest trend is about the http://www.toptenwritingservices.com with the writing of the top article on the command line of the power mode.
[#50] Saturday, May 18, 2019, 02:12:34
 
mandrum
commented 4 months ago
0
Terrific post, I’ve bookmarked this site so hopefully I will discover much more on this topic in the foreseeable future. MacBook repair
[#66] Wednesday, June 19, 2019, 06:13:07
 
joshuaprice153
commented 3 months ago
0
I enjoyed reading your articles. This is truly a great read for me. free fire
[#68] Wednesday, June 19, 2019, 09:54:45
 
luciham20
commented 3 months ago
0
Its difficult to find informative and accurate info but here I found… Paint Solutions Dr Phillips
[#144] Wednesday, July 10, 2019, 21:11:27
 
casseverhart13
commented 3 months ago
Only authorized users can post. Please sign in first, or register a free account
 
Share
Sponsor
Posted
rob

rob

Member since Feb 22, 2017
Total Code Snippets: 127
Total Comments: 1
Location: n/a
Following
User not following anyone yet.
rob snippets
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017