PowerShell
PowerShell copied to clipboard
SuspendPowerPlan example to have a combination of options
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!