Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

How to Display All Management Pack Rules

Updated: May 22, 2009

Applies To: Operations Manager 2007 R2, Operations Manager 2007 SP1

Use the following procedure to display a list of rules for the management packs that you imported. The list of rules can be viewed in Microsoft Office Excel.

To display management pack rules

  1. In your management server, click Programs, and then click System Center.

  2. Click Command Shell.

  3. In the Command Shell window, type the following command:

    get-rule | select-object @{Name="MP";Expression={ foreach-object {$_.GetManagementPack().DisplayName }}},DisplayName | sort-object -property MP | export-csv "c:\rules.csv"
  4. A .csv file is created. The .csv file can be opened in Excel.

In Excel, you might be required to specify that the .csv file is a text file.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft