Bulk Delete Multiple Operations Manager Management Packs [2020 Updated]

microsoft windows white logo

Last updated on March 30th, 2023 at 06:05 pm

Read Time:1 Minute, 5 Second

If you are using System Center Operations Manager and you want to bulk remove multiple Management Packs, then you can use the power of the Operations Manager Shell to carry it out.

First of all, you need to open up the Operations Manager Shell. Then you should run the following command:

Get-SCOMManagementPack | where Name -like "*Microsoft.SQLServer*"

where:

  • “*Microsoft.SQLServer*” = the management pack names that you want to remove. Note that you can use a * wildcard here.

This will list all the management packs that you have installed as per the criteria you have entered and should look something like this:

Operations Manager Powershell Output
Operations Manager Powershell Output

Check you are happy with this list and then move onto the following command which will remove all of those management packs listed:

Get-SCOMManagementPack | where Name -like "*Microsoft.SQLServer*" | Remove-SCManagementPack

This will then go through and remove all of the management packs that match your criteria.

Depending on how many you are trying to remove at the same time – this could take a while.

This has been updated and tested on System Center Operations Manager 2019.

Feedback

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

Click to rate this post!
[Total: 0 Average: 0]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 441 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.


Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.