Quick note: PoSh function to show discovery sources for SCOM class properties

This week, I needed to troubleshoot some properties, that did not get discovered. For this, I needed to know, which discovery rules are responsible for discovering these particular properties. I did not want to search all MPs for that, so I wrote a small function, that helps me to gather this information: This function creates…


Issue with the Tune Management Packs view in SCOM 2016

With SCOM 2016 we introduced a very cool and helpful new feature: the data driven Alert Management, provided by the “Tune Management Packs” view. You can find more details about this feature here . Black box and empty lines in Tune Management Packs view Unfortunately, under certain circumstances there is an issue with this view….


Quick note: Install button might be disabled while importing a MP in SCOM 2016

This is probably trivia for you, but I noticed some confusion at customer sites with this new feature of SCOM 2016: If you try to import a Management Pack that is already imported, the “install” button of the import wizzard is greyed out and you cannot import the MP. This makes perfect sense, as it…


Creating helpful HTML reports from SCOM Management Packs

I guess, that almost every SCOM Admin get some kind of these questions from an Application owner every now and then: Can I get a readable report of all workflows stored in a Management Pack? Oh and while we at it, can you please include: All override able parameter and their current (default) thresholds All…


How is the path property for a SCOM class instance created?

Recently a colleague asked me about a blog post I wrote some time ago regarding calculating GUIDs of SCOM objects: https://blogs.technet.microsoft.com/dirkbri/2015/06/11/how-are-guids-in-scom-and-scsm-calculated/ He wanted to calculate the GUID for a specific logical disk. Per the post, this requires the following data to be available to calculate the GUID of the specific instance: GUID (ID) of the…


Tips for writing good PowerShell scripts for OpsMgr Workflows – Part 2

This is part 2 of my little series around writing good PowerShell scripts for OpsMgr workflows. You can find the other part(s) here: Tips for writing good PowerShell scripts for OpsMgr Workflows – Part 1 This post focuses on just one topic: How do I load the OpsMgr module within an OpsMgr PowerShell workflow the…


Retrieving SCOM DB Information via SDK without Management Server access

This is just a quick post, based on an interesting question one of my colleagues asked the other day: “How can I retrieve the SCOM database names and SQL server names (incl. instances) from a SCOM console running on some client without having access to one of the SCOM Management Server itself?” My usual way is to…

1

Exporting the SCOM class hierarchy to XML

SCOM uses an object orientated data model and builds an internal, extensible class (type) hierarchy: Each class can have specific properties (which will be inherited to child classes) and relationships to other classes. The depth and breadth of this class hierarchy depends on the number of imported Management Pack. “I know that!”, you might say….

1

Programmatically resetting SCOM Monitors

Resetting SCOM monitors programmatically through the SDK is a useful task and can be used for multiple purposes like Resetting old (outdated) monitor states. For very old monitor states there might be no alert available anymore (because someone closed the alert without fixing the root cause (see post on Alert management scenarios) and maybe even…

2