Kill processes in bulk mode

A quick Windows command-line technique for stopping multiple processes at once.

  1. Open PowerShell with elevated permissions and run get-process > C:\_temp\process.txt

    .

  2. Open process.txt in an editor with multi cursor capabilities, e.g. Visual Studio Code or _Notepad++`

    .

  3. Cut the content of ID column where ProcessName is your relevant process to kill

    .

  4. Put a taskkill /F /PID in front of all

    .

  5. Save it as batch, for instance as C:\_temp\kill-processes.bat

  6. Run the batch

    .