can I list/kill processes?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I'm writing a script in that installs/deploys applications.

As we normally can't update programs until they shut down, I thought that it would be great if the script was able to:

- list processes (and wait until our process is gone),
- kill processes (if we don't want to wait, but kill the app immediately)

Is it possible to list processes running, and kill them?

I would like to avoid using external applications like pskill etc.


--
Tomasz Chmielewski
http://wpkg.org
.



Relevant Pages