How to revert to a previous version of a Microsoft Operations Manager Management Pack
Published Feb 16 2019 04:10 AM 480 Views
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 Operations Manager 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 here (thanks to Microsoft’s own Christopher Crammond!)

Here’s how to use the script:

1. Open the Operations Manager 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) --> .\RecursiveRemove.ps1 <ID or System Name of the MP>

(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 Properties in the Actions pane. Simply copy the content in the “ ID : ” text box in the General tab.

Chandra Bose | Senior Software Engineer | Microsoft

OpsMgr 2012 R2 OpsMgr 2007 OpsMgr 2016
Version history
Last update:
‎Mar 11 2019 10:34 AM
Updated by: