Blog Post

System Center Blog
1 MIN READ

Get all Monitors and Overrides for a Management Pack

System-Center-Team's avatar
System-Center-Team
Former Employee
Feb 14, 2019
First published on TECHNET on Aug 02, 2007

If you'd like to see outputs of a Management Pack's monitors and overrides (in addition to seeing a list of all rules ), those are also easy to pull out using the Command Shell.


For monitors, you use this command: get-monitor -managementPack name .mp | export-csv filename


For example, this command gets the monitors associated with one of the core Management Packs:
get-monitor -managementPack System.Health.Library.mp | export-csv "C:\monitors.csv"


It creates a CSV file that looks like this when opened in Excel:



For overrides: get-override -managementPack name .mp | export-csv filename


For example, this command:
get-override -managementPack Microsoft.SystemCenter.OperationsManager.Internal.mp | export-csv "c:\overrides.csv"
produces an output file that looks like this when opened in Excel:



Note that some versions of Excel will require that you tell it that you're opening a text file.

Updated Mar 11, 2019
Version 5.0
No CommentsBe the first to comment