Intro

A PowerShell script to disable or enable standby in AC mode.

Code

###########################
# author : shebangthedolphins.net
# version : 1.0
# date : 2016.04
# role : Disable or Enable standby
# other : 
# updates :
#       - 1.X (x/x/xxxx) :    

If ($args[0] -eq 0)
{
	powercfg.exe -change -standby-timeout-ac 0
}
Else
{
	powercfg.exe -change -standby-timeout-ac 15
}

Scheduled Task

We can schedule the standby :

Licence Creative Commons
This websitehttp://shebangthedolphins.net is licensed to the public under a licence Creative Commons Attribution licence.
Contact :