Created
October 7, 2019 18:30
-
-
Save nicksterx/0a8e68a129b014b8c6ec162e880c504d to your computer and use it in GitHub Desktop.
Revisions
-
nicksterx created this gist
Oct 7, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ $wsh = New-Object -ComObject WScript.Shell $speed = 100 while ($speed -gt 0) { $wsh.SendKeys('{NUMLOCK}') Start-Sleep -Milliseconds $speed $wsh.SendKeys('{CAPSLOCK}') Start-Sleep -Milliseconds $speed $wsh.SendKeys('{SCROLLLOCK}') Start-Sleep -Milliseconds $speed $speed=$speed-1 Write-Host $speed }