Related Articles
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 […]
Quick Post – SCOM An account specified in the Run As profile Microsoft.SystemCenter.Omonline.OutsideIn.RunAsProfile…
During a recent install of SCOM the health state of 4 management servers turned suddenly to critical and the 2 others stayed healthy. The setup consists of totally 6 management servers split up into 3 Resource Pools (Windows, Unix/Linux, Network/SNMP) and several gateway servers. It was somewhat suspicious, because for a long time the management […]
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 […]