Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 1.0 » Stop-Process

Stop-Process - Powershell 1.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Stop-Process

Description
Stop a running process

Usage


Options


Example(s)
Stop all instances of the Notepad process:

PS C:\>stop-process -name notepad

Stop process ID# 6464 and prompt before stopping the process (this will display the process name first):

PS C:\>stop-process -id 6464 -confirm -passthru

Display processes that were running on the computer, but are now stopped:

PS C:\>get-process | where-object {$_.HasExited}