Skip to main content

state command

Use the state command to obtain the server power state.

state command syntax

OneCli.exe misc multiospower <state> [--check-trust|-C] [--never-check-trust|-N] [--quiet|-q] 
[--configfile <arg>] [--output|-o <arg>] [--nolog] [--config <arg>] [--help|-h]
Table 1. state command specific parameters
ParameterRequired/OptionalNotes
--configfileRequiredSpecify the config file for the multi-task command. The template file is available in Sample/multi_task_config.json.
--quiet, -qOptional

This parameter answers yes for all questions, and decreases the outputs displayed on screen.

  • --bmc/imm, -b

  • --help, -h

  • --nolog

Optional

Refer to Table 2.

Example of the state command

OneCli.exe misc multiospower state --configfile xxxx/xxxx