Monday, January 19, 2009

stop all instances of the Notepad process

PS> stop-process -name Notepad

Explanation: (Each instance of Notepad runs in its own process.) It uses the Name parameter to specify the processes, all of which have the same name. If you were to use the ID parameter to stop the same processes, you would have to list the process IDs of each instance of Notepad.

No comments:

Post a Comment