Skip to content

Instantly share code, notes, and snippets.

@tig
Last active September 27, 2020 16:46
Show Gist options
  • 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