I actually have a powerplan script, since my W8.1 machine, but I have to post it as a file, because its above the post length allowed. It should be a .cmd, but uploaded as a TXT to be left uncompressed.
This is, of course, meant to be used in a notebook, but you can process those in a desktop no problem, Windows just ignores anything to do with battery on those.
Also of note, on anything Intel of 11th gen or less, holding your processor from reaching 100% load actually improves your performance because it thermal throttles in notebooks. I usually test 95, 90 and 85 to see what's the max I can go before Thermals start to be a problem.
This is, of course, meant to be used in a notebook, but you can process those in a desktop no problem, Windows just ignores anything to do with battery on those.
Also of note, on anything Intel of 11th gen or less, holding your processor from reaching 100% load actually improves your performance because it thermal throttles in notebooks. I usually test 95, 90 and 85 to see what's the max I can go before Thermals start to be a problem.