Skip to content

Instantly share code, notes, and snippets.

@fastfingertips
Created September 19, 2022 18:57
Show Gist options
  • Save fastfingertips/8a96d2fbc38239545c563b65aeb49131 to your computer and use it in GitHub Desktop.
Save fastfingertips/8a96d2fbc38239545c563b65aeb49131 to your computer and use it in GitHub Desktop.
Process killer
(Get-WmiObject Win32_Process -Filter "name = 'appName.exe'" | where {$_.CommandLine -like '*ARGS*'}).Terminate()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment