This script will export all management packs from SCOM to a file location.
The script was tested with SCOM 2012 R2.
Add-PSSnapin Microsoft.EnterpriseManagement.OperationsManager.Client -ErrorAction SilentlyContinue -ErrorVariable Err
Get-SCOMManagementPack -Name * | Export-SCOMManagementPack -Path <INSERT PATH>
No comments:
Post a Comment