ospower command
Use the ospower commands to power on, power off, and restart host OS, and display the power status of the host server OS. The ospower commands support in-band mode and out-of-band mode.
ospower command syntax
OneCli.exe [misc] ospower <cmds> [<options>]
Command | Syntax example | Description |
---|---|---|
acpower |
| Remotely perform AC power cycle by inputting --bmc user:password@host:port. |
boottosetup |
| Restart the host server to make the UEFI setting take effect. |
reboot |
|
|
state |
|
|
turnoff |
|
|
turnon |
|
|
Parameter | Required/Optional | Notes |
---|---|---|
| Optional | Refer to Table 2. |
Example of the state command
OneCli.exe ospower state --bmc userid:passwordD@host
Give documentation feedback