Bulk Delete Multiple Operations Manager Management Packs

microsoft

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:

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.

NOTE:

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

COMMENTS

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.

Free Subscription!Subscribe to our site to receive updates via email!

Enter your email address below and click the Subscribe button to receive email notifications about new and exciting downloads available through our website at https://www.techygeekshome.com

You will also receive notifications about new technical guides, latest news and MSI installer downloads that are available through our blog here at https://blog.techygeekshome.info 

We will not spam you and we will not pass on any of your details to anyone else. We tend to post new content once or twice a week.

Join 232 other subscribers

You can unsubscribe any time you like.

About A.J. Armstrong

Founder of TechyGeeksHome and Head Editor for over eight years! IT expert in multiple areas for over 20 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by A.J. Armstrong