Power Saving settings on remote PCs

Took me a while to find this.
If you look after remote PCs, or do updates after hours, you may be interested in the following commands
you can set the power profile during the day when the PC is in use, which prevents it from going to sleep after hours so you can do Windows Updates or backup the PC or make sure scheduled tasks get done etc.

powercfg.exe -x -standby-timeout-ac 0
powercfg.exe -x -hibernate-timeout-ac 0