How to Display Monitors for a Management Pack

適用於: Operations Manager 2007

To use the Command Shell to display a list of outputs for a management pack's monitors and overrides, use the following procedure.

To display monitors for a management pack

  1. In the Command Shell, type the following command:

    get-monitor -managementPack name.mp | export-csv filename
    
  2. A .csv file is created. The .csv file can be opened in Microsoft Office Excel.

注意

In Excel, specify that the .csv file is a text file if prompted to do so.

For example, the following command retrieves data for the monitors associated with one of the core management packs:

get-monitor -managementPack System.Health.Library.mp | export-csv "C:\monitors.csv"