Since Service Pack 1 was released to SCCM 2012 R2 I have been upgraded several environments. A couple of customers wanted me to create a PowerShell script to uninstall existing ConfigMgr Console and install the new updated version with the latest cumulative updates and hotfixes.

If you create a package to distribute it with SCCM make sure you point the Data source to the location of the Client installations files, Script, KB3084586-msp and kb3074857-msp.

Installation command for the program will then be: PowerShell.exe -file “script.ps1”.

Remember to set PowerShell execution policy to “Bypass” under Client Settings. This will not affect policy’s on the Windows environments, only scripts run from ConfigMgr will work).

If you have any questions, please live a comment below!