delete vm

Deletes an ESXi virtual machine that is registered at the management server.

This command does not prompt for confirmation. Be sure that you specify the correct virtual machine GUID or name.

Examples

Parameters

{--vmid=<virtual machine ID>|--vmname=<virtual machine name>}

General parameters

--log=<full path>
--log_format={structured|unstructured}
--progress
{-f|--file_params}=<full local path>

Access to a remote physical machine

--host=<IP address or hostname>
--credentials=<user name>,<password>,encrypted

Access to a specific service within a machine

--service={mms|ams}