Stop the process with the process ID "7": $ kill 7 Microsoft Windows and ReactOS In Microsoft's command-line interpreter Windows PowerShell, kill is a predefined command alias for the Stop-Process cmdlet. Microsoft Windows XP, Vista and 7 include the command taskkill to terminate processes. The usual syntax for this command is taskkill /im "IMAGENAME". An "unsupported" version of kill was included in several releases of the Microsoft Windows Resource Kits available for Windows 98. GNU versions of kill have been ported via Cygwin and run inside of the Unix environment subsystem that Microsoft Windows Services for UNIX provides (Microsoft acquired Windows Services for Unix wholesale via their purchase of Softway Systems and their Interix product on September 17, 1999). The ReactOS implementation is based on the Windows variant. It was developed by Andrew Riedi, Andrew Nguyen, and He Yang. It is licensed under the LGPLv2.1 or later. Examples Find all processes beginning with the letter "p" that were developed by Microsoft and use more than 10 MB of memory and kill them: PS C:\> ps p* | where { $_.Company -like "Microsoft*" -and $_.WorkingSet -gt 10MB } | kill -confirm Confirm Are you sure you want to perform this action? Performing operation "Stop-Process" on Target "powershell (6832)". [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): A PS C:\> Here is a simpler example, which asks the process Explorer.exe to terminate: PS C:\> taskkill /im explorer.exe This example forces the process to terminate: PS C:\> taskkill /f /im explorer.exe Processes can also be killed by their PID number: PS C:\> taskkill /pid 3476 Microsoft Singularity Singularity shell, the standard shell for Microsoft Research's microkernel operating system Singularity includes a kill command to terminate background processes. Examples Stop the process with the name "SampleProcess": Singularity>kill SampleProcess Stop the process with the process identifier "42": Singularity>kill 42 Plan 9 from Bell Labs Under Plan 9 from Bell Labs, the kill program does not actually perform this termination, nor does it take process IDs. Rather, it takes the actual names of processes and outputs the commands for rc, the shell used by Plan 9, to kill the process. A similar command provided is called slay, which does the same but for processes that refuse to be killed this way. Examples For example, to kill all instances of troff, one types: kill troff |