Solved

VMWARE CLI question how can I start a vm from a command line with putty

Posted on 2014-11-14
2
411 Views
Last Modified: 2014-11-14
If I just have putty to connect to the ESXI server ,  how can I start a VM within the command line ?

what is the exact syntax?

i have slow internet here and cant google stuff fast , and could use the help


THANKS!!
0
Comment
Question by:NAMEWITHELD12
2 Comments
 
LVL 13

Accepted Solution

by:
Abhilash earned 500 total points
ID: 40443402
You can run this using SSH

To power on a virtual machine from the command line:
List the inventory ID of the virtual machine with the command:

vim-cmd vmsvc/getallvms |grep <vm name>

Note: The first column of the output shows the vmid.

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>
0
 
LVL 1

Author Closing Comment

by:NAMEWITHELD12
ID: 40443481
wow , thanks that completely solved the issue , you really saved me alot of time thanks!!!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Fine Tune your automatic Updates for Ubuntu / Debian
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question