How to revert to a previous version of a Microsoft Operations Manager Management Pack

First published on TECHNET on Dec 19, 2016

~ Chandra Bose | Senior Software Engineer

There are times when you may want to revert back to older version of a Management Pack (MP) for a given workload. Currently, the UI allows you to delete and re-import Management Packs from the “Installed Management Packs” screen, however there can be issues when there are multiple and multi-level dependencies on the MP that you are trying to delete.

To mitigate these potential issues, we have a new script available that will help you to revert Management Packs with ease.

Note that this script is an enhanced version  of an earlier script provided by its original author


(thanks to Microsoft's own Christopher Crammond!)

Here's use the script:

1. Open the Command Shell prompt in Administrator mode.

2. Download the script to remove a management pack with dependencies

from here


3. Run the script using the name of the Management Pack you want to remove. For example:

(Example 1) –>

(Example 2) –>
.RecursiveRemove.ps1 Microsoft.SQLServer.2014.Discovery

You can see the ID or System Name of the MP that you want to uninstall by selecting it in the
Installed Management Packs
view by clicking
in the
pane. Simply copy the content in the “
ID :
” text box in the

Chandra Bose
| Senior Software Engineer | Microsoft

OpsMgr 2012 R2 OpsMgr 2007 OpsMgr 2016


This article was originally published by Microsoft’s System Center Blog. You can find the original article here.