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…

0

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