Category: Uncategorized

Part 6 – The Recovery

Part 6 – The Recovery

And finally we have a recovery which will allow the operator to delete the folders in the top level folder. This is the PowerShell code And this is the recovery code This shows the key piece of passing data from the monitor to the recovery.

Part 2 – PowerShell Monitors – The Modules

Part 2 – PowerShell Monitors – The Modules

Now that we have our script and we are confident that it works, we need to start the process of getting this into SCOM. There are 4 modules types that we will need to put together which are discussed here. They are: A probe action which will be our script […]

Part 1 – PowerShell Monitors – The Script

Part 1 – PowerShell Monitors – The Script

This question came up on the TechNet forums and it raised some interesting questions about using PowerShell in a monitor. Some standard best practice I would look to follow would be: 1. The script should always have some level of error checking along the lines of Try \ Catch \ […]

Create a Windows Service and SCOM Service Monitor

Create a Windows Service and SCOM Service Monitor

This is a quick digression from the main set of articles to create a windows service and then a SCOM service monitor to monitor that service. The solution for this C# windows service is here. The article “behind” this is here. And how to install the service is here. To […]

Part 4 – Authoring the Management Pack – classes, discoveries and relationships

Part 4 – Authoring the Management Pack – classes, discoveries and relationships

This is a summary of what we will walk through: Create a Management Pack Solution and Project Create a class for application server based on application component –> so health doesn’t roll up to windows computer. We want our infrastructure teams to support the computer and our application teams to […]