Bulk Remove SCOM Management Packs

If you are using System Center Operations Manager (SCOM) then you may have Management Packs in your system that you may longer want – especially if, like me, you go and add as many as you can in blissful ignorance expecting to get lots of tasty data. Then realising that this is a terrible idea […]

Bulk Remove Scom Management Packs
If you are using System Center Operations Manager (SCOM) then you may have Management Packs in your system that you may longer want – especially if, like me, you go and add as many as you can in blissful ignorance expecting to get lots of tasty data. Then realising that this is a terrible idea and you now have loads of Management Packs and their dependencies to delete manually!

Using PowerShell to Bulk Remove SCOM Management Packs

Open up the Operations Manager Shell: operations manager shell This will connect to your Operations Manager Management Server and allow you to run commands against it. Copy the code below and make the amendments you require:

where:

Get-SCOMManagementPack | where {$_.DisplayName -like "*SQL*"}  | Remove-SCOMManagementPack
  • “*SQL*” – The wildcard of a Management Pack you want to remove.
Hit enter and it will start the process of removing the Management Packs that you have stated in the wildcard. If you do not want to use the wildcard, just remove the *’s and enter the full and correct Management Pack name. This process can take some time to complete depending on how many you are trying to remove, so it may look like the process is doing nothing – but it is, just be patient with it. Once this is complete, you can go into your Operations Manager Console and then browse to your Management Packs and you should notice that they have now been removed.

Feedback

If you have any comments or questions on this guide, please feel free to leave us a message below and we will get back to you as soon as we can.
🛠️

Gear We Recommend

A few general tech accessories worth having alongside this.

Browse our General Tech Accessories picks on Amazon

As an Amazon Associate, TechyGeeksHome earns from qualifying purchases.


Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Andrew Armstrong

Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Active Directory, PowerShell, and enterprise infrastructure.

He founded TechyGeeksHome in 2010 and has published over 1,500 practical guides covering real-world IT problems and solutions. When not solving IT problems,

Andrew develops free Windows utilities including Ultimate Settings Panel, which has been downloaded over 850,000 times.