Usage: Run with --help for information on options
This program is used to change the build type of the VMX process and virtual
machine monitor that run a virtual machine. Changing to a debug build enables
additional debugging and assertion checks. Changing to a stats build enables
statistics gathering and profiling of VMX and virtual machine monitor.
Options:
-h, --help show this help message and exit
Options for connecting
----------------------:
--server=SERVER Hostname of the managing server. In most cases, this
is the name of the vCenter server machine that is
managing the ESX host. If the ESX host is not managed
by vCenter, then specify the name of the ESX host (can
be 'localhost' if running this script directly on an
ESX machine that is not managed by vCenter). A vCenter
server must be specified if the VM is running on an
ESX 5.0 or earlier host. This option is required.
--username=USERNAME
Username on the server (default is 'root')
--password=PASSWORD
Password for server (default is empty). WARNING: This
is insecure! If a password must be supplied, use
--password-file instead.
--password-file=PASSWORDFILE
A file containing the password for the server. Can be
'-' to prompt for a password.
--no-check-certificate
Disable certificate verification if the server is a
remote ESX host or a vCenter server.
Options for identifying VM(s)
-----------------------------:
--host=HOST Only include VM(s) on this ESXi host name. Only
useful when the --server argument specifies a vCenter
machine name.
--vmfile=VMFILE The VM's file name, usually ending in .vmx (e.g. the
'File' column of 'vim-cmd vmsvc/getallvms'). Either
this or --vmname is required unless querying VMs for
build type.
--vmname=VMNAME Name of the VM (e.g. the 'Name' column of 'vim-cmd
vmsvc/getallvms'). Either this or --vmfile is required
unless querying VMs for build type.
--datacenter=DATACENTER
Datacenter
--folder=FOLDER Folder
--pool=POOL Limit VMs picked to those in a specific resource pool
--one Allow only a single VMX process to change build type
at a time. This is the default, intended to prevent
accidentally suspending and resuming more VMs than
intended.
--many Allow changing the build type of more than one VMX
process. Default is --one.
Option to specify new vmx build type for those VM(s):
-----------------------------------------------------:
--buildType=BUILDTYPE
One of release, debug, or stats unless querying VMs
for build type. If this option is not provided, the
build type of the VM's VMX process is reported, but
not changed.
--force By default, if the --buildType option matches the
existing vmx build type for that VM, no changes are
made. Use --force to override, if desired.
--ssr If VM is running, force slow suspend/resume to make
the build type change take effect.
--fsr If VM is running, force fast suspend/resume to make
the build type change take effect.
Help options:
--verbose