Part 1 of a four-part article series focuses on writing scripts in MOM 2005. The purpose of the series is to compare scripts in MOM to those written for Windows Script Host so administrators can leverage the large amount of knowledge and materials already invested on scripts for Windows Script Host. Take a look.
Part 2 will be published in early July.
Here's a brief synopsis of the four-part series:
Introduces the concepts behind MOM scripts compared to those in Windows Script Host and the common and different objects used by each. You will learn how to get output data from a script into the MOM workflow.
Focuses on getting data into a MOM script. This includes working with parameters and retrieving information from the MOM object that launches the script.
Insight into the logistics of writing and debugging a script in MOM. This article covers the use of different editors and utilities for performing these functions.
Discussion of best practices and answers to general questions, such as: When should you generate an alert as opposed to an event with a MOM script? How complex should a MOM script be before you break it into multiple parts? What about security?