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
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
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. “.\OperationsManager\Functions.ps1 …. Read More
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: In summary: “Printer MP Supplement The focus for building out this MP supplement was to offer individualized printer monitoring. Further, …. Read More
How to Correctly Create an Override for a SCOM Workflow
Never store overrides in the “Default Management pack”. Don’t do it. In fact, rename the Default Management Pack right now to: DO NOT USE – Default Management Pack – DO NOT USE If you store an override in the Default Management Pack then somewhere a puppy loses its ears and then Andres …. Read More
Certificate Request from Standalone CA Certificate Authority for Operations Manager, SCOM 2012/R2
Root Certificate:Every mgmt server, every gateway, every untrusted (or non-domain) agent/machine will require installation of the ROOT CA certificate. This certificate will need to be imported into the Local Computer -> Trusted Root Certification Authorities store by using the MMC with the Certificates snap-in. Instructions below. (if the mgmt server IS the root CA, the …. 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
SQL Run As Account Configuration for SCOM Made Easy
SQL RunAs account configuration is one of those SCOM topics that seem to be more on the tricky side of things. There are a number of articles hanging around the “innerwebs” that provide some level of instruction on ways that one might go about it. Kevin Holman offers an excellent article that explains much of what you would …. Read More
How to Get Knowledge Article from a SCOM Alert with Powershell
See SCOMHelper here: https://monitoringguys.com/2019/11/12/scomhelper/