How to Display Monitors for a Management Pack
Updated: December 8, 2009
Applies To: Operations Manager 2007 R2
To display a list of outputs for a management pack's monitors and overrides by using the Command Shell, follow the procedure below.
To display monitors for a management pack
In the Command Shell, type the following command:
get-monitor -managementPack name.mp | export-csv filename
A comma-separated value (.csv) file is created. The .csv file can be opened in Microsoft Office Excel.
|In Office Excel, you may be required to specify that the .csv file is a text file.|
For example, the following command retrieves data for the monitors that are associated with one of the core management packs:
get-monitor -managementPack System.Health.Library.mp | export-csv "C:\monitors.csv"