Manage processes from CMD

I use these when PowerShell isn't an option.

List stuff

tasklist /fi "imagename eq notepad.exe"

tasklist /fi "services eq adsync"

tasklist /fi "status ne running" /fi "services eq adsync"

Kill stuff

Force kill a PID

taskkill /pid 11596 /f

Force kill all notepad.exe processes

taskkill /fi "imagename eq notepad.exe" /f

Comments