Administration

Table Of Contents
Table 139. Options for Assigning Dedicated Desktops
Option Description
-d desktop
Specifies the name of the desktop pool.
-m machine
Specifies the name of the virtual machine that hosts the
remote desktop.
-r
Removes an assignment to a specified user, or all
assignments to a specified machine.
-u domain\user
Specifies the login name and domain of the user.
Examples
Assign the machine machine2 in the desktop pool dtpool1 to the user Jo in the CORP domain.
vdmadmin -L -d dtpool1 -m machine2 -u CORP\Jo
Remove the assignments for the user Jo in the CORP domain to desktops in the pool dtpool1.
vdmadmin -L -d dtpool1 -u Corp\Jo -r
Remove all user assignments to the machine machine1 in the desktop pool dtpool3.
vdmadmin -L -d dtpool3 -m machine1 -r
Displaying Information About Machines Using the M Option
You can use the vdmadmin command with the -M option to display information about the configuration of
virtual machines or physical computers.
Syntax
vdmadmin -M [-b authentication_arguments] [-m machine | [-u domain\user][-d desktop]] [-xml |
-csv] [-w | -n]
Usage Notes
The command displays information about a remote desktop's underlying virtual machine or physical
computer.
n
Display name of the machine.
n
Name of the desktop pool.
n
State of the machine.
The machine state can be one of the following values: UNDEFINED, PRE_PROVISIONED, CLONING,
CLONINGERROR, CUSTOMIZING, READY, DELETING, MAINTENANCE, ERROR, LOGOUT.
The command does not display all dynamic machine states, such as Connected or Disconnected, that are
displayed in View Administrator.
n
SID of the assigned user.
n
Account name of the assigned user.
n
Domain name of the assigned user.
n
Inventory path of the virtual machine (if applicable).
n
Date on which the machine was created.
n
Template path of the machine (if applicable).
Chapter 13 Using the vdmadmin Command
VMware, Inc. 223