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 […]
Azure Automation – Up / Down Scale Azure VM
Recently I made a couple of demos how you could benefit from Azure Automation acting on certain alerts. One demo was, if an OMS or Azure Monitor alert is triggered because of high CPU on your Azure VM, a webhook will be called and scale up the Azure VM to a predefined size. In Azure […]
SCOM 2012 – Export Grey Agents using Powershell
There was a request in the TechNet forum to get all grey agents in SCOM 2012 using Powershell and export the Displayname and HealthState into a file. Because I haven’t seen a solution I thought I will share these few lines of code maybe you can use them also. #Import the OperationsManager module Import-Module OperationsManager […]