Related Articles
SCOM 2012 R2 – New PowerShell Cmdlets
I like to play around with PowerShell and I am always looking for new cmdlets Microsoft creates for us. Isn’t it like getting Christmas gifts all the time :)? Today I wanted to find out if there are any new gifts in SCOM 2012 R2 (Preview). For a reference I will compare a SCOM 2012 […]
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 […]
PowerShell – Comparing Management Pack Version
I bumped into an interesting problem while writing a custom PowerShell module. The module should compare the management packs from a SCOM management group and some local repository. If the local repository has a higher version number than the currently installed management pack, the script should import the management pack into SCOM. This post should […]