HP iLO 4 Scripting and Command Line Guide
HPONCFG command line parameters
HPONCFG accepts the following command line parameters:
Table 4 HPONCFG command line parameters
EffectParameter
Displays the help page/help or ?
Resets the iLO to factory default values/reset
Sets and receives the iLO configuration from the information given in the XML input file that
has name filename
/f filename
Sets and receives iLO configuration from XML input received through the standard input
stream
/i filename
Writes the iLO configuration obtained from the device to the XML output file named
filename
/w filename
Capture the complete configuration of iLO to a file. Must be used with /w command line
parameter.
/a or /all
Logs replies to the text log file that has name filename/l filename
Display all the responses from iLO./v or /xmlverbose
Substitutes variables present in the input config file with values specified in namevaluepairs/s namevaluepairs
or /substitute
namevaluepairs
Receives the host information. Returns the server name and server serial number/get_hostinfo
Indicates the minimum firmware level that should be present in the management device to
execute the RIBCL script. If at least this level of firmware is not present, HPONCFG returns
an error without performing any additional action
/m
Configures the server for optimized mouse handling to improve graphical remote console
performance. By default, it optimizes for remote console single cursor mode for the current
/mouse
user. The dualcursor command line option, along with the mouse option, optimizes mouse
handling as suited for remote console dual-cursor mode. The allusers command line
option optimizes mouse handling for all users on the system. This option is available only
for Windows
Configures Windows display parameters to optimize graphical remote console display
performance
/display
These parameters must be preceded by a slash (/) for Windows and Linux as specified in the
usage string.
For example:
hponcfg /f add_user.xml /l log.txt > output.txt
Using HPONCFG on Windows servers
Start the HPONCFG configuration utility from the command line. When using Windows, cmd.exe
is available by selecting Start→Run and entering cmd. HPONCFG displays a usage page if
HPONCFG is entered with no parameters. HPONCFG accepts a correctly formatted XML script.
HPONCFG sample scripts are included in the HPONCFG package.
For more information about formatting XML scripts, see “RIBCL XML Scripting Language” (page 64).
The command line format is:
hponcfg [ /help | /? | /m firmwarelevel | /reset [/m firmwarelevel]
| /f filename [/l filename][/s namevaluepairs]
[/xmlverbose or /v][/m firmwarelevel]
| /i [/l filename][/s namevaluepairs]
26 HPONCFG online configuration utility










