PowerShell Script to Backup OpsMgr Overrides and Unsealed Management Packs

PowerShell Script to Backup OpsMgr Overrides and Unsealed Management Packs

  • Comments 1
  • Likes

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

 

Attachment: BackUpMps.zip
Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • A question if I may.  Would not a SQL backup or system backup take care of the management packs and overrides?