Export SCOM Groups from 2012R2/Import into SCOM 2019UR3

anthonyp strother 326 Reputation points
2021-05-21T17:51:43.057+00:00

I am trying to make my admin life a little easier. Just brought up a new 2019UR3 environment. I am looking for a way to export all of my existing groups and data from 2012R2 and import that into 2019UR3, instead of having to recreate everything.
Is it possible to do?
Would certainly appreciate any assistance toward accomplishing this.
There a lot of dynamic groups and Explicit groups, a few with exclusions as well.

Thanks in advance for your time and assistance.
Have a great weekend!
Tony

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,392 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. CyrAz 5,176 Reputation points
    2021-05-21T18:12:31.52+00:00

    Pay attention to the fact that if these are static groups, their content is identified by objects IDs. And these IDs may be different in the new environment.
    Read here if you're interested in how these IDs are calculated, to understand why they may be different in the new environment : https://maxcoreblog.com/2019/05/02/are-scom-ids-random/

    1 person found this answer helpful.
    0 comments No comments

  2. Leon Laude 85,566 Reputation points
    2021-05-21T17:56:58.32+00:00

    Hi @anthonyp strother ,

    All your custom groups are located in your custom management packs.

    So what you'll need to do is to export your custom & other management packs from your old SCOM 2012 R2 environment and import them to your new SCOM 2019 UR3 environment.

    Here's two different PowerShell scripts that will export all your management packs:

    Exporting unsealed management packs
    Get-SCOMManagementPack | where {$_.Sealed -eq $False} | Export-SCOMManagementpack -Path "C:\Management Packs\Unsealed"

    Exporting sealed management packs
    Get-SCOMManagementPack | where {$_.Sealed -eq $True } | Export-SCOMManagementpack -Path "C:\Management Packs\Sealed"

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Best regards,
    Leon