Prevent Screenlock

From UVOO Tech Wiki
Jump to navigation Jump to search
$WShell = New-Object -Com "Wscript.Shell"
while (1) {$WShell.SendKeys("{SCROLLLOCK}"); sleep 60}