13.0

Table Of Contents
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
Network Adapter Commands
n List all network adapters on a virtual machine.
vmrun listNetworkAdapters Win10.vmwarevm/Win10.vmx
n Add a NAT network adapter to a virtual machine.
vmrun addNetworkAdapter Win10.vmwarevm/Win10.vmx nat
Host Network Commands
n List all networks on the host.
vmrun listHostNetworks
n Add a port forwarding on a host network with examples provided of the host network name,
protocol, host port, guest IP address, guest port, and description.
sudo vmrun setPortForwarding vmnet2 tcp 8082 1.1.1.2 88 portforwarding-description
Running Guest Applications
Most vmrun guest operations require VMware Tools to be installed on the guest operating system.
n Start the command tool, minimized, on a Windows guest.
Using VMware Fusion
VMware, Inc. 202