5.2

Table Of Contents
n
URL of the vCenter Server (if applicable).
Options
Table 17-10 shows the options that you can use to specify the machine whose details you want to display.
Table 17-10. Options for Displaying Information About Machines
Option Description
-d desktop Specifies the name of the desktop pool.
-m machine Specifies the name of the virtual machine.
-u domain\user Specifies the login name and domain of the user.
Examples
Display information about the underlying machine for the desktop in the pool dtpool2 that is assigned to the
user Jo in the CORP domain and format the output as XML using ASCII characters.
vdmadmin -M -u CORP\Jo -d dtpool2 -xml -n
Display information about the machine machine3 and format the output as comma-separated values.
vdmadmin -M -m machine3 -csv
Reclaiming Disk Space on Virtual Machines Using the -M Option
You can use the vdmadmin command with the -M
option to mark a linked-clone virtual machine for disk space
reclamation. View directs the ESXi host to reclaim disk space on the linked-clone OS disk without waiting for
the unused space on the OS disk to reach the minimum threshold that is specified in View Administrator.
Syntax
vdmadmin -M [-b
authentication_arguments
] -d
desktop
-m
machine
-markForSpaceReclamation
Usage Notes
With this option, you can initiate disk space reclamation on a particular virtual machine for demonstration or
troubleshooting purposes.
Space reclamation does not take place if you run this command when a blackout period is in effect.
The following prerequisites must be met before you can reclaim disk space by using the vdmadmin command
with the -M option:
n
Verify that View is using vCenter Server and ESXi version 5.1 or later.
n
Verify that VMware Tools that are provided with vSphere version 5.1 or later are installed on the virtual
machine.
n
Verify that the virtual machine is virtual hardware version 9 or later.
n
In View Administrator, verify that the Enable space reclamation option is selected for vCenter Server.
See “Allow vSphere to Reclaim Disk Space in Linked-Clone Virtual Machines,” on page 19.
n
In View Administrator, verify that the Reclaim VM disk space option was selected for the desktop pool.
See “Reclaim Disk Space on Linked-Clone Desktops,” on page 115.
n
Verify that the virtual machine is powered on before you initiate the space reclamation operation.
n
Verify that a blackout period is not in effect. See “Set Blackout Times for ESXi Operations on View
Desktops,” on page 116.
VMware Horizon View Administration
420 VMware, Inc.