VMware command line control VM

Source: Internet
Author: User

VMware command line control VM

I haven't used the vmwarevm for a long time. Today I want to install an XP instance for testing. It's too slow to install it with virtualpc. If I don't wait for a long time, I will install it with Vmware, which is much faster than virtualpc.

After the installation is complete, it is important to enable the host operating system to automatically start the specified virtual machine for running. The keyword is a command line that can be completed. The search result is always the vmrun.exe file of the truth, which is recorded here to prevent you from forgetting it again next time.

Vmrun.exe -- Help

Vmrun version 5.0.0 build-13124

Usage: vmrun Command [parameter]

Command parameter description

List list all running VMS.

Start path to vmx file. Start a VM.

Stop path to vmx or vmtm file. Stop a VM or team.

Reset path to vmx or vmtm file. Reset a VM or team.

Suspend path to vmx or vmtm file. Suspend a VM or team.

Upgradevm path to vmx file. Upgrade VM file format, virtual HW.

Examples:

Vmrun list

Vmrun reset myteam. vmtm

Vmrun upgradevm w2k. vmx

Clearly stated, list: displays all running VMS with no parameter; Start: starts a virtual machine. The parameter is to start the vmx file of the virtual machine; stop: stops a virtual machine, the parameter is the vmx file of the VM to be stopped; Reset: resets a VM; the parameter is the vmx file of the VM to be reset; suspend: suspends (suspends) a VM, the parameter is the vmx file of the VM to be paused; upgradevm: the format of upgrading a VM file to the new version. The parameter is the vmx file of the VM.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.