You will need to create a PowerShell script to do it. a quick Bing search will show you the command to change site codes.
Migrate clients from one site to another
lalajee
1,821
Reputation points
Hi,
We built new MECM site and would like to move existing clients from old site to new.
What is the best way to do it? I dont like to remove and reinstall the client, I just want to change the site code from old to new e.g. 01 to 02
While its change the site code I like to log all of the information into an log file so that we can review it if they is any issue
Microsoft Security | Intune | Configuration Manager | Other
4,608 questions
Accepted answer
1 additional answer
Sort by: Most helpful
-
Ashish Shrivastava 1 Reputation point
2022-08-26T09:05:32.213+00:00 Execute ccmexec.exe /SMSSITECODE=S01 /mp:SMSMP01
Note : Change Site Code & MP name