|
Huntland Services Ltd Tel: +44 (0)1392-490518
|
Dump Mom Rules For a Given Group |
|||
| Back | Download The Script |
ShowScvhedule.vbs
In the MOM Admin Console rules are administered through Processing Rule Groups. These groups contain both rules and sub-groups. Some groups only contain subgroups. It can be very difficult to work out what rules are being applied courtesy of the default processing rules supplied with Mom. The purpose of this script is to make that easier. DumpMomRulesCMD.vbs will write all the rules and subgroups for a given starting group, to a text file for easy reading. The name of the file will be the name of the Processing Rule Group with a txt or csv extension: c:\temp\Microsoft Message Queue
(MSMQ).txt The output can be one of two possible formats indicated on the command line. 'TXT' format is a nice hierarchical text format (you will need to switch off word wrap to appreciate this): (Level0) Microsoft Message Queue (MSMQ) (Enabled) 'CSV' format is a comma separated file for use with excel.
Run this from the command prompt using the following syntax: Cscript //NoLogo DumpMomRulesCMD.vbs "myServer" "c:\temp" TXT "Microsoft Message Queue (MSMQ)" It takes as its input:
To make life easier this script can be run using a batch file which dumps all the default Processing Rule Groups. The batch file is dumpMomRulesCMD.bat and can easily be edited to suit whatever processing rules exist on your system.
Please accept this script as is. Any feedback will be gratefully received at Debug@Huntland.co.uk
|
||