Creating and Terminating Processes

Microsoft® Windows® 2000 Scripting Guide

microsoft windows 2000 scripting guide

« Previous | Next »   

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.


send us your feedback Send us your feedback « Previous | Next »   


Microsoft Windows 2000 Scripting Guide(c) Automating System Administration 2003
Microsoft Windows 2000 Scripting Guide(c) Automating System Administration 2003
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 635

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net