Users Guide

Table Of Contents
Using OpenManage Power Center through
Command Line Interface
All commands supported by the command line interface (CLI) have the following format:
ompc_cli [COMMAND] [GENERIC_OPTIONS] [COMMAND_OPTIONS] [COMMAND_TARGET]
The operation must start with a valid [COMMAND]. Options can be entered anywhere after [COMMAND]. For each option that has a value,
the value must be supplied immediately after the option.
NOTE: If a duplicate or incorrect option value is supplied with a command, the CLI window is closed with an error. For example,
when both the –prole and –protocol options are supplied at the same time in a command, the CLI window is closed with an
error.
GENERIC_OPTIONS is used to run a generic job for this command line.
On Microsoft Windows operating system, user authentication credentials are specied as follows:
user_auth <POWER_CENTER|WINDOWS_LOCAL|WINDOWS_DOMAIN>
user_name <user_name>: If user_type is WINDOWS_DOMAIN, then the user_name must be in domain\user format.
user_password <password>
On Linux operating systems, user authentication credentials are specied as follows:
user_auth <power_center|linux_local|ldap>
user_name <user_name>
user_password <password>
The COMMAND_TARGET species the targets on which the command operates. For example, the COMMAND_TARGET for add_prole is a
prole name to be added. For a specic command, the
COMMAND_TARGET cannot have the same value with the name of a generic option
or an option supported by this command. For example, the COMMAND_TARGET cannot be –protocol or –user_name for the command
add_prole.
For COMMAND_TARGET, the order of its content must be kept as dened in the specic command denition section. Any valid option can
be mixed with the content of COMMAND_TARGET. For example, the order of COMMAND_TARGET of the move_device command must be
supplied
FROM_GROUP_PATH rst, then TO_GROUP_PATH.
Topics:
Command Line Interface error handling
Command Line Interface commands
Command line interface error codes
4
Using OpenManage Power Center through Command Line Interface 31