Thursday, February 23, 2012
   
Text Size

PowerShell - Stop A Process

 

Windows PowerShell - Stop A Process

windows_powershell

 You can kill a process by Process ID or by the Process name.  Wildcards can also be used when specifying the application name:

To Stop a Process by ID:

Stop-Process 3512

To Stop all Instances of Notepad:

Stop-Process -processname notepad

To stop all Process starting in 'Note':

Stop-Process -processname note*