Last active
August 16, 2021 17:35
-
-
Save 4nd3r/c254123ae067b9b55fcd6f9f5b01ff59 to your computer and use it in GitHub Desktop.
This file contains 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
$i = 0 | |
$s = New-Object -Com Wscript.Shell | |
while (1) { | |
$s.SendKeys("{SCROLLLOCK}") | |
$global:i++ | |
Write-Output $global:i | |
sleep 60 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment