How do I stop a PowerShell command when it has started executing?
E.g. How do I stop a command like this
Select-String -Path c:\*.* "Cat"
without having to kill my PowerShell terminal?
Ctrl-C or Break does not work.
While the script runs type Ctrl+Break.
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