Now I am going to demonstrate a more advanced script with multiple propertybags, script parameters, and adding references for custom target classes. I’ll be using the base script from: https://kevinholman.com/2015/06/20/using-a-net-assembly-in-powershell-when-a-cmdlet-doesnt-exist/ First we need to tweak the script for use in SCOM. See my “101” post linked above on how to…
I was recently working with a customer who wanted to monitor the Queue Size of Microsoft Service Bus Queues. We looked in Perfmon, and this value doesn’t exist. Next, I’d look in PowerShell to see if a PowerShell cmdlet exists that could deliver what I need. Unfortunately – that didn’t…
In this example – we will take the most BASIC PowerShell script possible, and show how we can us it to collect Performance data in a SCOM rule. We will use Silect’s free tool – MPAuthor. First – the script: I will simply count the number of items in the…
If you use SCOM’s Agentless Exception Monitoring, to examine application crash data and report on it…. one of the artifacts of SCOM is that this data never grooms out of the SCOM Operational Database. One of the things you can do is to disable all of the monitors that ship…
Quickdownload: https://github.com/thekevinholman/Microsoft.SystemCenter.ACS.Addendum I was working with a customer recently, and I realized that our MP’s to work with Audit Collection Forwarders could use a little help. The default view for the “forwarder” discovers instances where the ACS Forwarder service is set to automatic, but it does some “bad” things like…