Answers for "powershell command lock screen"

0

powershell command lock screen

rundll32.exe user32.dll, LockWorkStation)
Posted by: Guest on November-15-2020
0

powershell command lock screen

if ($args[1] -is [int]) {
    $nb = $args[1]
    Write-Output "Locking screen in $nb seconds"
    Start-Sleep -Seconds $nb
    $lockscreen = $(rundll32.exe user32.dll, LockWorkStation)
    $lockscreen
  }
Posted by: Guest on November-15-2020

Code answers related to "powershell command lock screen"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language