HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)

For usable parameters, see Chapter 4 on page 61.
TIP:
You can also set the URL, options, and parameters arguments in the properties file. If arguments
are specified both in the properties file and from the command line, the arguments specified from the
command line take precedence.
Table 2 Device Manager CLI options
DescriptionStatus
Argument
for the op-
tion
Option
A valid Device Manager server login user ID
You must have your user ID registered in Device Manager
before using the Device Manager CLI.
Re-
quired
user-ID
#1
-u or
--user
The Device Manager server login password or the path to the
password file that contains the login password
#1, #2, #3
A password can either be specified directly, or a file containing
a password can be specified. The application user needs to
have access permissions for the password file. Do not grant
access permissions to common users for the password file.
When specifying the password file, include an @ sign at the
beginning of the path. The text on the first line of the specified
file is read and used as the password.
HP recommends that you set an encoded character string rather
than plain text for the password file.
Re-
quired
pass-
word
#1
or
pass-
word-
file
-p or
--password
Uses HTTPS to communicate with the Device Manager server.
Option-
al
No argu-
ment
-s or
--secure
An XML API request file
Takes input from the specified file, which must contain the
Device Manager server request as a complete XML document.
When this option is selected, the output of the server's response
is an XML-formatted document.
If you specify this option, the specification in the file overrides
the equivalent specification from the command line.
You cannot specify this option together with either the -f (or
--format) option or the -b (or --batch) option.
Option-
al
file-
name
#2
-i or
--input
The file for storing the execution results
Sends output to the specified file, instead of the console.
When this option is specified, the command does not send the
execution results to the standard output.
If you specify an existing file, that file is overwritten.
Option-
al
file-
name
#2
-o or
--output
CLI Reference Guide 29