Created
March 21, 2024 10:22
-
-
Save swarupmtb/8424515e54f95ca73a7a2cdd5cdd0483 to your computer and use it in GitHub Desktop.
Windows Sleep Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$myshell = New-Object -com "Wscript.Shell"; for ($i = 0; ; $i++) {Start-Sleep -Seconds 600; $myshell.sendkeys("^")} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment