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
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.
In the above command you can replace the “AD” with any keyword. More information can be found on below mention TechNet article,