Pages

mandag 13. mai 2013

OpsMgr: Backup Unsealed management packs using PowerShell

To backup unsealed management packs use this command:
 Get-SCOMManagementPack | Where {$_.Sealed -eq $false} | Export-SCOMManagementPack -Path:"C:\Backup\MPs"

If using OpsMgr 2007 R2, use this:
 Get-ManagementPack | Where {$_.Sealed -eq $false} | Export-ManagementPack -Path:"C:\Backup\MPs"