Worklet: Change Power Scheme

  • 13 December 2019
  • 0 replies
  • 60 views

Userlevel 7

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