Skip to main content

Worklet: Change Power Scheme

  • December 13, 2019
  • 0 replies
  • 68 views

Nic-Automox

This worklet lets you change the power scheme to one of the defaults:

  • Balanced
  • High Performance
  • Power Saver

There’s no evaluation code and the remediation code just changes the setting to whatever you specify in the code:

$p = gwmi -NS root\cimv2\power -Class win32_PowerPlan -Filter "ElementName ='Power Saver'"

$p.Activate()

Change ElementName between any of the three built-in defaults: Balanced, High Performance, or Power Saver. If you have any other power schemes saved then you can call them by name as well.

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings