Removing Bulk Management Packs using PowerShell

Problem
I installed Non English Management Packs by mistake which isn’t used for me. Also I installed IIS Management pack which isn’t used for me. I want to delete all unused Management Packs.

Solution
Run Operation Manager PowerShell as Administrator
To show all non-English Management Packs:
Get-SCOMManagementPack | where{$_.defaultlanguagecode -notlike “ENU”}

To remove all non-English Management Packs:
Get-SCOMManagementPack | where{$_.defaultlanguagecode -notlike “ENU”} | Remove-SCOMManagementPack

To show IIS Management Pack:
Get-SCOMManagementPack | where{$_.displayname -like “*IIS*”}

To Remove IIS Management Pack:
Get-SCOMManagementPack | where{$_.displayname -like “*IIS*”} | Remove-SCOMManagementPack

Advertisements
This entry was posted in Operations Manager. Bookmark the permalink.

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