NEWAutomating the reassignment of shared DPs .. Possible?

J

Jacob C. Mueller

New Member
1
0
1
We are migrating SCCM hierarchy to new (virtual) hardware so that we can move away from Server 2012R2.
Single primary (no CAS)

We have all our objects/apps/collections/etc migrated between primary sites, role servers configured and tested, etc. We also have 200+ Distribution Points (one DP per a branch office location... inherited configuration which we have to maintain due to network topology etc.). All pre-existing DPs are in a shared state (DP sharing enabled). I'm familiar with the Reassign Distribution Point wizard and process, however we'd like to automate this process if possible due to the fact that we are planning on reassigning all DPs in a short period of time.

We tried testing with the Set-CMDistributionPoint cmdlet, something like "Set-CMDistributionPoint -SiteSystemServerName $DP.ServerName -SiteCode $SiteCode -ReassignSiteCode $NewSiteCode". However the cmdlet won't recognize a shared DP (any query of availabe DPs in our "new" primary site, will just list new DPs that we have built). I may have misinterpreted what this cmdlet can do and what the parameters are for. Are there ANY options at all for automating the reassignment of shared DPs?

Thank You