Published: 2020.05.25
Category: C#, PowerShell
SetLockDisplayTimeout
Module sets up the inactivity time after which lock screen will show up.
Console lock display off timeout option is used by administrators to improve security. Unfortunately very often they are setting this value to some small value like 1 minute.
To block users to changing value option is often hidden.
Module adds option again to the interface and sets value to given one.

Parameters:
- Minutes – sets amount of minutes to set up in the option
Switchers
- Battery -sets the On battery option
- PluggedIn – sets the Plugged in option
Example of usage:
