Monday, June 1, 2009

How to start a VM from command line in 2 steps

This command will list the VM's that are located on an ESX server datastore whether they are running VM's or not. Copy the path so that you can later paste it in to your next command in step 2.
1. vmware-cmd -l

This command will start the VM in the path below. Paste the path of the VM
Example:
2. vmware-cmd /vmfs/volumes/493d215c-54090920-3855-02219516464/PHMEX2K7HTCAS/PHMEX2K7HTCAS.vmx start

No comments:

Post a Comment