11.0

Table Of Contents
Guest Operating System Commands
Guest operating system commands enable you to interact with a guest operating system in the following
ways.
n Run an executable program in the guest operating system or run an interpreted script that you
provide.
n Check if a file or directory exists in the guest, delete a file or directory, rename a file, list files, or
create a new directory.
n Copy a file from the host to the guest or from the guest to the host.
n Create a temporary file in the guest operating system.
n Add a shared folder from the host, make a shared folder writable in the guest, or remove a shared
folder.
n Capture a screen image from the guest.
n List the processes running in the guest operating system or end a process.
n Read or write a variable in the guest operating system’s environment or virtual machine state.
n Obtain the IP address of the guest operating system.
The timeout, which is the wait period for VMware Tools, is five minutes for all guestrelated commands.
General Commands
General commands include commands that list all running virtual machines, upgrade the virtual machine
hardware version, install VMware Tools in the guest operating system, check the current status of
VMware Tools, and delete virtual machines. Also, you can clone a virtual machine to create a copy of the
virtual machine.
Template Virtual Machine Command
The name of the template virtual machine command is downloadPhotonVM. The command allows you to
download the VMware Project Photon operating system virtual machine.
This chapter includes the following topics:
n Use the vmrun Utility
n Syntax of the vmrun Command
n Using Authentication Flags in vmrun Commands
n Running vmrun Commands
Use the vmrun Utility
No configuration is needed to use the vmrun utility on a Mac OS X, OS X, or macOS host.
Using VMware Fusion
VMware, Inc. 184