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 […]
PowerShell – PowerShellGet Module “Publish-PSArtifactUtility : Cannot process argument transformation on parameter ‘ElementValue’”
In PowerShell 5.0, Microsoft introduced the PowerShellGet module. This module contains cmdlets for different tasks. E.g. it lets you easily install / upload PowerShell modules / scripts from and to an online gallery such as PowerShellGallery.com. It even lets you find scripts, modules and DSC resources in such repositories. This is a fantastic way to […]
Quick Post – Import-SCOMManagementPack : The requested management pack is not valid. See inner exception for details.
I have seen in the forum there are some difficulties using the Import-SCOMManagementPack cmdlet for SCOM 2012. Some time ago I wrote a post about how to import multiple MPs using Import-SCOMManagementPack. If you try to import just one MP you might get a meaningless error in PowerShell like this…