Related Articles
Simple script which checks the modified time (hours) of a log file
Recently I had to monitor a backup log file. If the modification time stamp of the log file was later than at a certain time then SCOM should fire a warning. In my case if the file was modified later than at 05:00 o’clock (24-hour time notation) an alert should occur. There was no characteristic […]
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 […]
SCOM 2012 SP1 – Upgrading Linux Agent From SCOM 2007 R2
This week I was working for an international customer. The customer had a SCOM 2007 R2 CU5 infrastructure installed on Windows 2008 R2 SP1 servers with ~800 Windows agents and ~250 Unix based agents which they were going to migrate to SCOM 2012 SP1 UR2 installed on Windows Server 2012 in a side-by-side scenario. Because […]