View all Worklets
Windows

Change Power Scheme

Modifies power schema based on set parameters.

Worklet Details

Introduction to the PowerShell Based Change Power Scheme Worklet

The Change Power Scheme Worklet is a Windows-compatible script designed to easily manage and modify power plan settings on a device. This PowerShell based Worklet enables users to switch between predefined power schemes based on their requirements quickly.

Power plans control how Windows devices consume power, and with the help of this Worklet, administrators can ensure that power consumption is optimized for various conditions such as battery life or performance.

Why would you use the Change Power Scheme Worklet?

In today's world of laptops and mobile devices, managing power settings is crucial for both extending battery life and increasing productivity. The Change Power Scheme Worklet allows you to change the current active power scheme on your Windows device without having to manually go through multiple steps within the control panel.

By using this Worklet, you can quickly adjust the power settings based on your needs, whether it's conserving battery life during travel or improving performance when working on resource-intensive tasks.

Components of the Change Power Scheme Worklet

The Worklet consists of two parts: an evaluation script and a remediation script. The evaluation script checks if the desired power scheme is currently active on the system. If not, it flags the device for remediation.

The remediation script then adjusts the active power plan accordingly. You can choose from three available profiles: "Power Saver," which reduces performance for increased power savings; "Balanced," which automatically balances performance and power consumption based on demand; and "High Performance," which maximizes performance at higher energy usage.

How does the Change Power Scheme Worklet work?

Upon execution, this command-line tool retrieves information about available power schemes using Windows Management Instrumentation (WMI) classes in PowerShell. It then identifies if your preferred plan is currently active by comparing GUIDs (Globally Unique Identifiers) associated with each plan.

If needed, it uses 'powercfg.exe' to change the active power scheme, which requires administrative privileges and can be executed on supported Windows operating systems.

What is the expected outcome when you use the Change Power Scheme Worklet?

When you implement the Change Power Scheme Worklet, it streamlines your process for managing power settings. As a result, you save time and effort that would have been spent navigating through menus in Windows to make adjustments manually.

The Change Power Scheme Worklet offers an efficient method for managing power settings on a Windows device. By using this Worklet, administrators can ensure optimal performance or battery life according to their requirements without having to delve into complex system settings manually.

View in app

Consider Worklets your easy button

What's a Worklet?

A Worklet is an automation script, written in Bash or PowerShell, designed for seamless execution on endpoints – at scale – within the Automox platform. Worklet automation scripts perform configuration, remediation, and the installation or removal of applications and settings across Windows, macOS, and Linux.

do more with worklets