What's in my management pack?

Here is a simple script that I wrote for someone today to dump the contents of a management pack that include views, rules, monitors, tasks, console tasks. I figured others might find it useful as well.

In order to run the script, open up the OpsMgr command shell and run the following command:

C:\DumpMpContents.ps1 -mpDisplayName:'Windows Server Internet Information Services 2003'

Just replace the MP display name with your management pack name.

DumpMPContents.zip