|
|
 
0 |
Want a quick way to view ALL overrides in your Operations Manager 2007 installation?
Here's a one-liner to dump all overrides in descending order by LastModified date to a spreadsheet, which should tip you off to recent changes enacted via override.
get-ManagementPack | where {$_.Name -like "*" } | get-Override |sort-object LastModified -descending | select-object name, displayname, xmltag, value, timeadded, lastmodified | export-Csv -Path "c:\overrides.csv"
While not perfect, the Name attribute provides some insight into the purpose of the override. Unfortuntely, not all overrides have a friendly name (DisplayName), and I didnt see any trace of who made the changes in the verbose output. The xmltag attribute does reveal if the override is applied to a rule, monitor, etc (values I encountered were RuleConfigurationOverride, MonitorConfigurationOverride, CategoryOverride). The value parameter the current value data for the given override.
In the future I'll look further into the potential of connecting overrides to their associated rules / monitors for inclusion in the output.