Thursday, 4 June 2015

Delete SCOM management Packs using Powershell in SCOM 2012 R2

Delete SCOM management Packs using Powershell


  • SCOM has a very powerful Command shell which is a subset of Powershell
  • Most of the time we have to delete lot of old management packs and when there are more than 20 to delete, you have to select 1 by 1 and delete.
  • But there is a easier way to do it with Command Shell
  • Use command "Get-SCOMmanagementpack | where{$_.displayname -like "*Windows*"}|Remove-SCOMManagementPack"
  • This will delete all the management pack which matches the word windows

No comments:

Post a Comment