I was wondering if it’s possible to change Windows 10/11s Power Mode via the command line instead of the UI. See attached screenshot. Windows 10 had a nice slider when you click the battery icon, but that’s missing from 11 and you have to click a few more buttons to change it.

When I look up how to change the power mode everything is talking about using the legacy power plans found in control panel, but the power mode doesn’t stick with the power plan, and I’m looking to automate changing that via a script.