Changing the Power Scheme

There are a number of changes that can be made to the power scheme used by Windows Vista or Windows Server 2008. These settings commonly take into account whether the computer is running on power or on battery. If the computer is running on a battery, conservation often becomes a concern. However, this is not always the case. In some circumstances, performance of the computer is the most pressing factor; for example, if you know electricity will be restored to the computer within a specific amount of time. The SetPowerConfig.ps1 script provides the ability to configure power settings for the monitor, disk, sleep, and hibernate features on both the battery and power. You can create a custom power plan by using the power ...

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.