13.0

Table Of Contents
Option Parameters Description
readVariable path to .vmx file
[ guestVar |
runtimeConfig |
guestEnv ]
variable name
Reads a variable from the virtual machine state or guest. You can
get a guest variable, a runtime configuration as stored in the .vmx
file, or environment variables in the guest operating system. Reading
the guestEnv variable requires a valid guest login. For example, you
can use the -gu and -gp options to log in to the guest. See the
writeVariable entry for a description of variable types.
getGuestIPAddress path to .vmx file
[ -wait ]
Retrieves the IP address of the guest.
When you use the [ -wait ] option, the command waits until the
IP address is available. For example, the IP address is not available
until the virtual machine powers on. If the network is not ready, the
command returns to the command-line prompt immediately.
The vmrun General Commands and Parameters
Option Parameters Description
list Lists all running virtual machines.
upgradevm path to .vmx file Upgrades a virtual machine to the current virtual hardware version.
Has no effect if the virtual hardware version is the most recent
supported.
Power off the virtual machine, such as with the vmrun stop command.
Wait a short period of time for the command to finish. Then run the
vmrun upgradevm command.
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.
Using VMware Fusion
VMware, Inc. 201