Blog
By Pete Zerger on 6/18/2009 8:20:07 PM • Rank (1403) • Views 1807
0

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.

Map Location


GPS Latitude: 0.00000 Longitude: 0.00000
Comments (2) - Comment RSS
Daniele Muscetta wrote: on Jun 21, 2009 05:30 AM
I have working code for this that traverses that kind of information, but I am afraid that posting it in this small comment box will make it unreadable/garbled...
Daniele Muscetta wrote: on Jun 21, 2009 06:12 AM
I posted that here http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/19855/Default.aspx


Who Viewed
Who Reviewed
Categories
Related Pages
Shortened URL
http://tinyurl.com/y9hfcm6

Top Contributors
Featured Members
Pete Zerger
Points: 72533
Level: System Center Expert
Tommy Gunn
Points: 47345
Level: System Center Expert
Simon Skinner
Points: 40804
Level: System Center Expert
Andreas Zuckerhut
Points: 30700
Level: System Center Expert
Stefan Koell
Points: 30179
Level: System Center Expert