SCOM 2012 – Import Multiple Management Packs (Import-SCOMManagementPack)

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

image

2) Navigate with the Powershell console to this directory and run…

image

Et voilà the commandlet will import all the specified management packs…

image

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!

3 Comments

  1. 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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s