PowerShell Script to Backup OpsMgr Overrides and Unsealed Management Packs
Published Feb 15 2019 11:18 AM 639 Views
First published on TECHNET on Apr 15, 2012

Attached is a PowerShell script that can be used to backup overrides and unsealed Management Packs from Operations Manager 2012, as well as OpsMgr 2007 R2 . This script is an update to the PS script that my friend Boris Y had written a while ago.


The updates include…



  1. Runs on Windows PowerShell (version 1 and 2)

  2. Runs on the Operations Manager 2012 PowerShell


The product team recommends backing up unsealed MPs on a weekly basis. By using windows task scheduler and this PowerShell script you can automate the backup jobs to run on a periodic basis.


Posting this script on the blog as I will be demoing it at MMS 2012 during my session, and want to make it avaliable to everyone.


Here is how you can run the script from command line: C:\BackupMPs.ps1 -rmsName $env:computername -folderName c:\OMBackupMPs



Script is attached below


Thanks


Satya



BackUpMps.zip

Version history
Last update:
‎Mar 11 2019 09:12 AM
Updated by: