I cannot find how to stop a running PowerShell command using a keyboard shortcut. My command is:
do {ping 127.0.0.1} until (Test-Path -Path C:\Users\foobar)
How can I stop this command using a keyboard shortcut? I can press the recycle bin icon but that kills my PowerShell extensions completely and VS Code then asks to restart it.
I tried some commands on the internet like Ctrl+Alt+M, but it does not stop the execution.
Use shortcut : CTRL+BREAK / CTRL+C
See here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With