Runner.ps1

1
2
3
4
5
6
7
8
9
10
cd $PSScriptRoot

Import-Module .\ProductivityTools.PSSetLockDisplayTimeout.psm1 -Force
#Set-LockDisplayTimeout -Minutes 1 -Verbose
Write-Host "-------"
#Set-LockDisplayTimeout -Minutes 1 -PluggedIn -Verbose
Write-Host "-------"
Set-LockDisplayTimeout -Minutes 100 -Battery -Verbos

#GetEASPolicyValue