4.6

Table Of Contents
By default, the path to the vdmadmin command executable file is C:\Program Files\VMware\VMware
View\Server\tools\bin. To avoid having to enter the path on the command line, add the path to your PATH
environment variable.
n
vdmadmin Command Authentication on page 299
You must run the vdmadmin command as a user who is in the Administrators role for a specified action
to succeed.
n
vdmadmin Command Output Format on page 299
Some vdmadmin command options allow you to specify the format of the output information.
n
vdmadmin Command Options on page 300
You use the command options of the vdmadmin command to specify the operation that you want it to
perform.
vdmadmin Command Authentication
You must run the vdmadmin command as a user who is in the Administrators role for a specified action to
succeed.
You can use View Administrator to assign the Administrators role to a user. See Chapter 2, “Configuring Role-
Based Delegated Administration,” on page 25.
If you are logged in as a user with insufficient privileges, you can use the -b option to run the command as a
user who has been assigned the Administrators role, if you know that user's password. You can specify the
-b option to run the vdmadmin command as the specified user in the specified domain. The following usage
forms of the -b option are equivalent.
-b
username
domain
[
password
| *]
-b
username
@
domain
[
password
| *]
-b
domain
\
username
[
password
| *]
If you specify an asterisk (*) instead a password, you are prompted to enter the password. You can use the
-b option with all command options except the -R and -T options.
vdmadmin Command Output Format
Some vdmadmin command options allow you to specify the format of the output information.
Table 16-1 shows the options that some vdmadmin command options provide for formatting output text.
Table 16-1. Options for Selecting Output Format
Option Description
-csv
Formats the output as comma-separated values.
-n
Display the output using ASCII (UTF-8) characters. This is
the default character set for comma-separated values and
plain text output.
-w
Display the output using Unicode (UTF-16) characters. This
is the default character set for XML output.
-xml
Formats the output as XML.
Chapter 16 Using the vdmadmin Command
VMware, Inc. 299