SCCM 2007 to SCCM 2012 client migration via Powershell

Hi

I'm looking for a controlled way to migrate a SCCM 2007 server client to SCCM 2012. A push of SCCM Console is no option.
I 'll do all the testing but hoped to gain some time by having these questions answered:

*can an install of SCCM 2012 client be remotely triggered in one go (no uninstall of 2007 needed)?
*if uninstall is needed (of sccm 2007 client), does it need a reboot?

What command to use (preferrably powershell):

\\ourserver\Client\ccmsetup.exe" -argumentlist "SMSSITECODE=sitecode","SMSMP=oursccmserver","SMSCACHESIZE=8000","FSP=oursccmserver","CCMLOGMAXSIZE=104857600"

OR (guess that's the command SCCM is using)

Install-CMClient-DeviceName$ComputerName-IncludeDomainController$False-SiteCodePRD-ForceReinstall$True-AlwaysInstallClient$True-Verbose

April 17th, 2015 6:21am

Why not just create a package of the 2012 client and deploy it in your 2k7 environment?
Free Windows Admin Tool Kit Click here and download it now
April 17th, 2015 6:26am

Why not just create a package of the 2012 client and deploy it in your 2k7 en
April 17th, 2015 6:27am

Thanks, but we just want to fire up a command remotely no effort anymore in the old SCCM server (2007).
Free Windows Admin Tool Kit Click here and download it now
April 17th, 2015 6:59am

Just run that command in a batch file then

Yes it will remove the 2007 client and then install 2012.

April 17th, 2015 7:03am

I preferr using Jason Sandys startup script, http://blog.configmgrftw.com/configmgr-client-startup-script/ it works great in migration scenarios as well. 

Create a gpo and add the script filter it on an AD group then you can still control which computers are migrated.. Works great.

Regards,
Jrgen

Free Windows Admin Tool Kit Click here and download it now
April 17th, 2015 11:03am

Thanks! One more thing: do I need to import the machine in SCCM 2012 also or launching the SCCM 2012 install from a SCCM 2007 will do this?

This is the command I'm using now:

\\share\ccmsetup.exe /source:\\share\ccmsetup.exe /MP:sccmserver /forcereinstall SMSSITECODE:STG FSP CCMLOGMAXSIZE=...

April 20th, 2015 10:02am

 do I need to import the machine in SCCM 2012 also or launching the SCCM 2012 install from a SCCM 2007 will do this?


How will you do that? This does not work at all when using client push obviously. You can only use packages/programs to update clients to CM12 in that case and that's something you did not want to do.
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2015 11:49am

Launching the command is sufficient, importing in SCCM 2012 is not needed.
April 21st, 2015 7:35am

Didn't complete my sentence: "launching from a SCCM 2007 client" will do.
So yes, you can launch the command from a sccm 2007 client to install an SCCM 2012 client without the need to import the machine with mac into sccm 2012.
Free Windows Admin Tool Kit Click here and download it now
April 21st, 2015 7:36am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics