Related Articles
SCOM – Populate Attributes Through PowerShell
This time I would like to show a cool idea about modifying class instance properties. In SCOM we usually use registry or WMI discoveries to populate attributes. These attributes are used for dynamic groups or maybe just to append some more information to the class instance. Imagine you are using a registry discovery for populating […]
SCOM 2012 – Get Agent Failover Management Server
Because of an issue I needed to get the failover management servers of the agents. Well, because I like to fool around with Powershell I thought I would write a short script. Just to give you some background how I figured it out. First I got the members of the Get-SCOMAgent command by typing: Get-SCOMAgent […]
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 […]