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:
3 lines
$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.
This discussion is archived and closed to replies. Continue it in the Automox Community Slack.
Discuss on Slack