Managing Desktop Power Settings
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access