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.
- Display name of the machine.
- Name of the desktop pool.
- 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 Horizon Administrator.
- SID of the assigned user.
- Account name of the assigned user.
- Domain name of the assigned user.
- Inventory path of the virtual machine (if applicable).
- Date on which the machine was created.
- Template path of the machine (if applicable).
- URL of the vCenter Server (if applicable).
Options
The following table shows the options that you can use to specify the machine whose details you want to display.
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 remote 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