System Center Operations Manager

Tasty Treats for System Center Operations Manager (by Tyson Paul)

How to Analyze a SCOM Property Bag

From time to time I find myself writing PowerShell scripts for custom workflows: discoveries, rules, monitors, tasks, etc. Often times the project at hand requires a property bag full of juicy data to be used in the workflow. There are a handful of other blogs that describe what a property bag is but here I’ll… Read more

SCOMHelper PowerShell Module – A SCOM Admin’s Best Friend

*Note: after today (2019/06/19) I will no longer have access to update this blog. Check the PowerShell gallery (PSGallery) for updates. (installation instructions at bottom) There are a number of cool scripts that I’ve collected, borrowed, and written in my travels as a SCOM field engineer and PowerShell enthusiast. I decided to put them all… Read more

Class Viewer: An Easy Way to View Class Hierarchy and Hosting Relationships in the Operations Manager Console

Up until now there has been no easy way to get a good, visual perspective on the classes and hosting relationships that exist in your SCOM management group. I introduce ClassViewer; a script that will add a Web Page view into your Monitoring workspace so that you can see all classes in your management group… Read more

Visual Studio ‘Failed to verify module reference’ Authoring SCOM Management Pack, VSAE

Today I’m writing about an elusive problem with a management pack that I was authoring recently. I was writing a generic datasource for a registry discovery; that is a discovery that will instantiate a class based on the existence of a registry key on the Target machine, and generic because I will use a single… Read more

Export SCOM Rule and Monitor Knowledge Articles with PowerShell

This has been baked into the SCOMHelper PowerShell module available here. Related: How to Get Knowledge Article from a SCOM Alert with Powershell This will output workflow information (including Knowledge Article content) to an HTML report or CSV file. Script accepts one or more (or all) management pack objects as input. Can export from SCOM using… Read more

SCOM Operations Manager Shell PowerShell Error When Launched as Administrator

Sometimes when the Operations Manager Shell is opened as an Administrator you will see the error in the screenshot below. I believe this has to do with how User Account Control (or UAC) is configured. The “Start in” parameter on the shortcut is ignored and the shortcut is unable to locate the startup scripts.  … Read more

Install Standalone CA (Certificate Authority) on Windows Server 2012 R2 for use with Operations Manager

After looking around a bit I couldn’t find a decent tutorial that addressed this specific scenario (not one that demonstrated Powershell anyway). I ended up writing this for a client who didn’t have their PKI infrastructure sorted out yet. I prefer to use Powershell as it is much faster and efficient for these steps. (Just… Read more

How to Get Knowledge Article from a SCOM Alert with Powershell

I’ve had numerous requests lately for scripts to extract Knowledge Article info from alerts and workflows so I thought it might be helpful to post some scripts for the community to use. Download at TechNet Gallery Get-SCOMAlertKnowledge.ps1 This script is geared towards use with a connector, possibly for Service Manager ticketing or with SCORCH. This… Read more

Set Primary and Failover Management Servers for Agent Managed Computers with Powershell

  Here’s an easy script to set the primary and secondary management servers for all agent managed computers in your management group. Just run this on any management server: $primaryMS = (Get-SCOMManagementServer | Sort-Object DisplayName )[0]   $failoverMS = (Get-SCOMManagementServer | Sort-Object DisplayName )[1]   Get-SCOMAgent | % { Set-SCOMParentManagementServer -Agent $_ -PrimaryServer $primaryMS; `… Read more