Skip to content

Instantly share code, notes, and snippets.

@tig
Last active September 27, 2020 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tig/6ba36f0360454edbf0570c3d4e4d5fd7 to your computer and use it in GitHub Desktop.
Save tig/6ba36f0360454edbf0570c3d4e4d5fd7 to your computer and use it in GitHub Desktop.
OCGV command to kill process in PowerShell

Kill process command using out-ConsoleGridView

gps | ocgv -OutputMode Single | Stop-Process -Id {$_.Id}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment