11.0

Table Of Contents
Option Parameters Description
installTools
path to .vmx file
Prepares to install VMware Tools in the guest operating system. In Windows
guests with autorun enabled, the VMware Tools installer starts by itself. In Linux
guests without autorun, the command connects the virtual CDROM drive to the
VMware Tools ISO image suitable for the guest, but the installer does not start.
You must complete the installation with additional manual steps, as described in
the product documentation.
checkToolsState
path to .vmx file
Checks the status of VMware Tools in the guest. The possible states are
unknown, installed, and running.
deleteVM
path to .vmx file
Deletes a virtual machine.
clone
path to .vmx file
destination .vmx file path
full|linked
[-snapshot=Snapshot Name]
[-cloneName=Name]
Only Fusion Pro supports the clone option.
Creates a copy of the virtual machine.
The vmrun Template Virtual Machine Commands and Parameters
Option Parameters Description
downloadPhotonVM
path to save the downloaded VM
Downloads a VMware Project Photon operating system virtual machine.
Examples of vmrun Commands
The command-line examples that follow work on VMware Fusion. Ubuntu16 is the virtual machine
example for Linux and Win10 is the virtual machine example for Windows.
Reboot Commands
n Reboot a virtual machine.
vmrun reset Win10.vmwarevm/Win10.vmx soft
Snapshot Commands
n Create a snapshot of a virtual machine
vmrun snapshot Ubuntu16.vmwarevm/Ubuntu16.vmx mySnapshot
n List snapshots on the virtual machine, showing the snapshot created in the previous command.
vmrun listSnapshots Ubuntu16.vmwarevm/Ubuntu16.vmx
n Revert to the snapshot you made, which suspends the virtual machine, and restart to resume
operation.
vmrun revertToSnapshot Ubuntu16.vmwarevm/Ubuntu16.vmx mySnapshot
vmrun start Ubuntu16.vmwarevm/Ubuntu16.vmx
n Delete the snapshot by specifying its name.
vmrun deleteSnapshot Ubuntu16.vmwarevm/Ubuntu16.vmx mySnapshot
Using VMware Fusion
VMware, Inc. 193