How to Display Overrides for a Management Pack
適用於: Operations Manager 2007
To display overrides for a management pack, use the following procedure.
To display overrides for a management pack
On your management server, click Start, type Operations Manager Shell, and then click Operations Manager Shell on the Start menu.
In Operations Manager Shell, type the following command:
get-override -managementPack name.mp | export-csv filename
For example, the following command displays the overrides for one of the core management packs:
get-override -managementPack Microsoft.SystemCenter.OperationsManager.Internal.mp | export-csv "c:\overrides.csv"
注意
If you receive an error message indicating that access to the path is denied, modify the path “c:\overrides.csv”
in the command to use a path to which the user account has access. For example, user accounts should have access to their profile path. From a command prompt, you can run the command echo %userprofile%
to find out the physical path to the user profile (for example, C:\Users\ALyon). When you have the user profile path, use that instead of c:\ as shown in the example commands, for example, “c:\users\ALyon\overrides.csv”
.
A .csv file is created. You can open the .csv file in Microsoft Excel. In Excel, you might be required to specify that the .csv file is a text file.