Checkout PowerCFG…
just a few examples:
Changes plan to “High Performance”
powercfg -s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
also works from task sequence – cmd.exe /c “powercfg -s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c”
just a few exampes:
powercfg /change “always on” /standby-timeout-ac 0
powercfg /change “always on” /hibernate-timeout-ac 0
powercfg /setactive “always on”
Read more at: Using PowerCfg to Evaluate System Energy Efficiency