1 commentsAuthoringManagement PacksPowershellSCOM 2012SCOM 2016

SCOMHelper PowerShell Module – A SCOM Admin’s Best Friend

(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 together into one module for easier maintenance and use. Enjoy. SCOMHelper Module Functions: New-SCOMClassGraph First and foremost my pride and joy ….  Read More

0 commentsAuthoringManagement PacksPowershellSCOM 2012SCOM 2016DataItemNotepad++powershellProperty BagText EditorXML Format

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

0 commentsUncategorized

SCOM Sudoers Reference

  NOTE: These example sudoers configurations are compatible with SCOM 2012 R2. There have been some minor changes to the nix deployment kit names in SCOM 2016 and these changes have not been added below… YET. If you would like to submit your additions for SCOM 2016, please do so in the comments and the ….  Read More

0 commentsManagement PacksPowershellSCOM 2012SCOM 2016Authoring Management PackspowershellPowershell SCOM Administration Operations Manager Shellscom 2012SCOM 2016Visual StudioVSAE

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

0 commentsUncategorized

SCOM: Export Rules, Monitors, Overrides, Settings, Effective Monitoring Configuration with PowerShell

2018.03.23: (This is a reboot of a previous post. I revised the title, script, and photos a bit.) I was working on a support case recently when it was brought to my attention that this cmdlet, Export-SCOMEffectiveMonitoringConfiguration,  does not output ALL contained instance configurations even when the “-RecurseContainedObjects” parameter is used. Yes, really!  It outputs configuration data for only one ….  Read More

0 commentsManagement PacksPowershellSCOM 2012SCOM 2016

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

0 commentsPowershellSCOM 2012SCOM 2016Powershell SCOM Administration Operations Manager Shell

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

0 commentsManagement PacksSCOM 2012SCOM 2016Authoring Management Packs Print Server Monitoring

SCOM Printer Monitoring Management Pack Supplement (Updated: Windows Server 2003, 2008, 2012, 2016)

  Back in 2010 Steve Rachui posted a fantastic management pack which added support for monitoring Windows 2003 and 2008 print servers. The original post is located here so you can read all about the functionality: https://blogs.msdn.microsoft.com/steverac/2010/12/04/focusing-on-the-printer-printer-monitoring-mp-supplement/   In summary: “Printer MP Supplement The focus for building out this MP supplement was to offer individualized ….  Read More