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…
- Runs on Windows PowerShell (version 1 and 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
https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/4616/00/00/03/49/22/80/BackUpMps.zip