Click here to Skip to main content
15,896,207 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
we have this application at work that kills several process remotely. I would like to change it to list what processes it really killed so i dont have to log into that machine to verify. the below code is what were using:

VB
Dim objWsh = CreateObject("WScript.Shell")
objWsh.RUN("%COMSPEC% /C TASKKILL /S " & strComputer & " /F /IM RAD*", 0, True)
objWsh.RUN("%COMSPEC% /C TASKKILL /S " & strComputer & " /F /IM MSIEXEC*", 0, True)
objWsh.RUN("%COMSPEC% /C TASKKILL /S " & strComputer & " /F /IM Setup*", 0, True)



help would be great.
Posted
Comments
Nelek 3-Apr-12 13:36pm    
What have you tried so far?
Kschuler 3-Apr-12 13:59pm    
Help with what? What is wrong or what are you stuck on?

1 solution

If you would like to list/enum all processes on remote machine, ask brother GOOGLE[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900