Related Articles
Quick Post – SCOM Script Monitor Customizing Alert Name
This time I needed to build a two-state script monitor to test several file shares for availability. The script works in multiple steps… Try to access the shared folder Create a file within the share Check if the file exists Delete the file If one of the tests above would fail, we need to get […]
PowerShell – Create “Clean” Custom Objects From DataTable Object
I recently had a need to create “clean” PowerShell custom objects out of a DataTable object. What does that mean? Well, let me explain. When you try to get data out of SQL Server using PowerShell there are many ways to do it. Either you use Invoke-SQLCmd, SQL Server PowerShell (SQLPS), SQL Server Management Objects […]
SCSM – Apply SMA Runbook Template Using SMA / PowerShell
In my previous post I have written about adding activities to a service request using PowerShell SMLets. Well this just added the “empty” activities / “framework” but the activities were not configured yet. As an example I want to add a SMA runbook activity (using this method) and then apply a pre-configured SMA runbook template […]