There are many components that can be stored in a power configuration policy. In this section, let's examine how you can retrieve the power policy for a computer. The power plan settings are shown in Figure 9-7.
In the ReportPowerConfig.ps1 script, you'll report on the existing power configuration settings. The script supports several different switches, and can supply the following information:
All power configuration settings
Current power configuration setting
Available sleep states
Last wake event
All devices on the current computer
All devices, and their configuration (including if they support sleep)
All devices that are currently configured to wake the computer
All devices that can be user-configured to wake the computer ...