Created
September 20, 2018 19:51
-
-
Save MarcusFelling/ef56317fb78dfa725428eacd6d9163e1 to your computer and use it in GitHub Desktop.
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 characters
$dotnet = Get-Process dotnet -ErrorAction SilentlyContinue | |
If($dotnet){ | |
taskkill.exe /F /IM dotnet.exe | |
} | |
Else{ | |
"No dotnet.exe tasks to kill" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment