question

anthonypstrother-8017 avatar image
0 Votes"
anthonypstrother-8017 asked CyrAz answered

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

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

msc-operations-manager
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeonLaude avatar image
0 Votes"
LeonLaude answered anthonypstrother-8017 commented

Hi @anthonypstrother-8017,

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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

WOW!! Some how I just knew someone was going to say that...........

0 Votes 0 ·
CyrAz avatar image
1 Vote"
CyrAz answered

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/

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.