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
| Parameter | Required/Optional | Notes |
|---|---|---|
| --nodeid | Optional | Specify the node index for OOB case on a multi-node system. Support the format --nodeid all. |
| --smm | Optional | Connect user credential and IP of SMM. |
Example of the state command
OneCli.exe power state --smm userid:xxxx@xxxx
Give documentation feedback