killing process using powershell for windows
November 7, 2009
Now we will talk about windows.I have been using powershell, an equivalent of konsole in windows to automated some task. Here I will list a few commands that can be used to kill a process using powershell so you don’t have to open a task manager to do that (almost every windows user use task manager to kill a process).
first off you have to open a powershell. and then type this command to know which process you are running.
PS C:\Users\jacobian> get-process
and then it will list all the process that’s been running like the screenshot below.
and now to kill a process you just have to look up for the process ID and kill it using the following command
PS C:\Users\jacobian> stop-process 4172
process ID 4172 belongs to a process named Winamp, and I kill it using the above command.
I think powershell really improve my experience using windows as an operating system. Just wait for another tutorial about powershell then. thanks for reading.








Hi
Another wonderful way to kill process in PS is:
ps *namepart* | kill
I use this to kill one buggy process:
ps *RocketDock* | kill