PowerShell icon indicating copy to clipboard operation
PowerShell copied to clipboard

SuspendPowerPlan example to have a combination of options

Open maxsatula opened this issue 5 years ago • 0 comments

You can improve Examples/SuspendPowerPlan.ps1 by allowing a combination of options, like you are already doing bitwise OR for $ES_CONTINUOUS internally, in particular Display+System is a useful combination in the real world. Per my observations, Display alone does not stop a system from going to sleep, System alone does not keep display on.

Thank you!

maxsatula avatar Jul 13 '20 22:07 maxsatula