Skip to main content

state command

Use the state command to acquire the power state of the server.

state command syntax

OneCli.exe misc power state --bmc BMC_username:BMC_password@BMC_IP|Host
Table 1. state command specific parameters
ParameterRequired/OptionalNotes
--nodeidOptionalSpecify the node index for OOB case on a multi-node system. Support the format --nodeid all.
--smmOptionalConnect user credential and IP of SMM.

Example of the state command

OneCli.exe power state --smm userid:xxxx@xxxx