How to Remove SCOM 2012 Management Packs Through PowerShell

While I’m working on my SCOM LAB environment I came across the requirement of removing the Active Directory Management Pack I’ve install into the system. One of the painful process is removing them one by one from the console, top of that I found out I’ve imported the MP’s related to other languages as well Sad smile

There has to be an easy way for this right? You guess correct thanks to tight PowerShell integration with SCOM Microsoft has provided a solution for that. With below mention command you can remove the management pack related to any software application. We only provide a keyword and base on that PowerShell will do the MP library search and remove the relevant MP’s.

image

In the above command you can replace the “AD” with any keyword. More information can be found on below mention TechNet article,

http://technet.microsoft.com/en-us/library/hh545200.aspx

Advertisements

One thought on “How to Remove SCOM 2012 Management Packs Through PowerShell

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