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: 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…


October 2016 Windows cumulative updates might cause SCOM 2012R2/2016 console to crash on all OS Versions

Updated article 17.10.2016: This is just a short note that you should be careful installing the October 2016 cumulative Windows updates KB3194798/3192392/3185330/3185331 on Windows Server releases from 2008R2 up tp 2016 and Windows client releases from 7 up to 10 with the SCOM 2012/2012R2/2016 console installed on it. It might happen (in fact it will…


Testing Log Analytics HTTP Data Collector API limits with PowerShell

Recently we announced a new API for uploading quasi any data from anywhere to OMS (Log Analytics) as long it is presented to OMS in a non-nested JSON format. See these excellent articles for more details: I was curious about the performance of this API and wanted to know: What’s the maximum data…


Creating an Azure OMS workspace in less than 30 seconds

If you want to play with OMS it might be helpful and necessary to create new workspaces automatically (and remove them after testing). I am currently playing with the Log analytics http data API and need to create OMS workspaces quite often. This is how I do it: There are multiple ways of creating resources…


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…


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….


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…


SCOM alert management scenarios

The scenario table was completely updated (bug fixes and clarification) on 10/24/2016. Almost a year ago I wrote a short blog post about SCOM alert handling/management and how I do it . After writing the initial post back in 2015 my valued colleague Nathan Gau has written an excellent 3 part post about several process related…


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

I really love PowerShell and I do write a lot of scripts. This is part 1 of a series of blog posts providing some tips I use when writing PowerShell scripts that can be later used in OpsMgr workflows. Tip: Use your own custom script template I hate to reinvent the wheel over and over again. So…