power settings using Powercfg.exe
https://docs.microsoft.com/en-us/windows-hardware/design/device-experiences/powercfg-command-line-options
Get currently active power scheme
powercfg -getActiveScheme
List the power schemes available on the system
powercfg /list
Set active power scheme.
powercfg -s {scheme-guid}
Check granular settings of current scheme
powercfg /query
force disk to stay awake on AC power
powercfg /change disk-timeout-ac 0