diff --git a/pages/windows/taskkill.md b/pages/windows/taskkill.md new file mode 100644 index 000000000..cef32c314 --- /dev/null +++ b/pages/windows/taskkill.md @@ -0,0 +1,27 @@ +# taskkill + +> Terminate a process by its process id or name. + +- Terminate a process by its id: + +`taskkill /pid {{process_id}}` + +- Terminate a process by its name: + +`taskkill /im {{process_name}}` + +- Forcefully terminate a specified process: + +`taskkill /pid {{process_id}} /f` + +- Terminate a process and its child processes: + +`taskkill /im {{process_name}} /t` + +- Terminate a process on a remote machine: + +`taskkill /pid {{process_id}} /s {{remote_name}}` + +- Display information about the usage of the command: + +`taskkill /?`