I am using apmservicecontrol to stop and restart services on monitored windows servers without issue. Now I have a need to completely stop remote processes (not services) on that same server. I cannot find a built in way to do this.
Is there a built in way to do this and if not, does anyone have a simple vbscript that I can paste into the script body part of the Windows Script Monitor, that can maybe kill the process?
Thanks