![](/images/new-backgrounds/1186275/186275337x1.webp)
Platform Power State Subcommands
The subcommands listed in TABLE
TABLE F-18 Platform Power State Subcommands
Subcommand | Description |
|
|
platform get power state Provides the ability to determine the platform power state (for example, whether it is on or off).
platform set power state Provides the ability to turn the platform power on or off.
The subcommand platform set power state does not affect the platform if the platform is already on; if the platform is off, it powers on and boots the OS. In other words, the subcommand platform set power state ensures that the platform is on, but does not reboot it if it is not on.
The subcommand platform set os state waits for the platform to boot; the subcommand platform set power state only waits for the power to come on.
Platform Get Power State Subcommand
Description: Provides the ability to determine the platform power state from within a script (whether the platform is on or off).
Format
Command format:
platform get power state
Appendix F Platform Commands 147