Creating and Terminating Processes
Microsoft® Windows® 2000 Scripting Guide
To develop a complete process management system using WMI, you must be able to create and terminate processes. Among other things, this allows you to create scripts that:
Monitor for process availability and, if necessary, restart a process that has abnormally terminated.
Monitor for process performance and terminate a process that has exceeded specified thresholds.
Start a program on a remote computer and, when finished, terminate the program.
The Win32_Process class contains two methods, Create and Terminate, that can be used to create and terminate processes.