There are maybe certain situation where you need to import multiple management packs using the “Import-SCOMManagementPack” command. How do you accomplish that?
It is easy! Because the command is taking care of the dependencies we just have to provide ALL of the needed management packs in an array.
In my example I want to import the DNS management packs…
1) Download and extract the files into a directory e.g. C:\temp\Microsoft DNS 2003 2008 and 2008R2 MP for OM 2007
2) Navigate with the Powershell console to this directory and run…
Et voilà the commandlet will import all the specified management packs…
What does this command? We are just putting all the management packs into an array ($mps) and then provide this array as an input for the “Import-SCOMManagementPack” command. The command itself imports each management pack the way it needs it. Therefore you don’t care about the dependencies you just need to provide all management packs. “-ComputerName” just specifies a SCOM management server to connect to.
Happy import!
Nice post Stefan. Will help me a lot 🙂
One question. I’ve been looking for a management pack for SCOM 2012 to monitor a IBM AS400. Do you know if there is any MP to do the monitoring? one that is simple and preferably free.
Hi Rui
Thanks!
If IBM does not deliver a management pack, there is Quest which has some exstensions, but I have never used them https://support.software.dell.com/qmp-for-as400-operations-manager/4.0.0.534/download-new-releases .
You might need to create an MP on your own.
Cheers,
Stefan
Hi Stefan,
Thank you for the suggestion 😉
Rui