Is there a hot key where I can break from a sleep. After I break from the sleep, is it possible to detect the break from the hot key and do a GOTO to another section of the code?
Start-Sleep -Seconds $IntervalInSeconds
Is there a hot key where I can break from a sleep. After I break from the sleep, is it possible to detect the break from the hot key and do a GOTO to another section of the code?
Start-Sleep -Seconds $IntervalInSeconds
Yes : <Ctrl>+<c>
I’d say “no” … but you may try if this helps: