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 ...
Get Windows PowerShell™ Scripting Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.