11.0

Table Of Contents
Option Parameters Description
deleteSnapshot
path to .vmx file
snapshot name
[ andDeleteChildren ]
Removes a snapshot from a virtual machine. Because Fusion supports multiple
snapshots, you must provide the snapshot name. The virtual machine must be
powered off or suspended. If the snapshot has children, they become children
of the deleted snapshot's parent, and subsequent snapshots continue as before
from the end of the chain.
The andDeleteChildren option deletes the specified snapshot and its children
recursively.
See revertToSnapshot for solutions to name conflicts.
revertToSnapshot
path to .vmx file
snapshot name
or
path to .vmx file
Snapshot/"Snapshot
2"/"Snapshot N"
Sets the virtual machine to its state at snapshot time. However if the virtual
machine was powered on at the time of the snapshot, vmrun reverts it to a
suspended state, but does not resume running the virtual machine.
If a snapshot has a unique name within a virtual machine, revert to that
snapshot by specifying the path to the virtual machine's configuration file and
the unique snapshot name.
If several snapshots have the same name, specify the snapshot by including a
full pathname for the snapshot. A pathname is a series of snapshot names,
separated by forward slash characters (/). Each name specifies a new snapshot
in the tree. For example, the pathname Snap1/Snap2 identifies a snapshot
named Snap2 that was taken from the state of a snapshot named Snap1.
The vmrun Network Adapter Commands and Parameters
Only Fusion Pro supports the network adapter commands.
Option Parameters Description
listNetworkAdapters
path to .vmx file
Lists the network adapters in a virtual machine.
addNetworkAdapter
path to .vmx file
Network adapter type
[ Host nework ]
Adds a network adapter to a virtual machine.
Note The network adapter type can be nat, hostOnly, bridged, or custom. When
the network adapter is nat, hostOnly, or bridged, the Host nework parameter is
not required. Only when the network adapter type is custom, must you specify a
value for the Host nework parameter. For example, vmrun
addNetworkAdapter
.vmx file
custom vmnet3.
You must name a custom virtual network with one of the names listed in the
Custom section of the Network settings panel of the virtual machine or the Fusion
Network Preferences panel.
.
Using VMware Fusion
VMware, Inc. 188