There may come a time when you need to upgrade your SCOM 2012 R2 server to SCOM 2016, and the most consistent way to do this is through the command line. Unfortunatly the SCOM documentation is a little out of date. If you’ve been searching the internet for the command line switches to perform an in-place upgrade to SCOM 2016, you probably would have stumbled across this link:
Installing Operations Manager by Using the Command Prompt Window
Unfortunately that link is not SCOM 2016 specific, and more importantly, does not include the /upgrade switch.
Yes that’s right – with SCOM 2016, when you run the setup.exe from the root of the installation media, you can perform an inplace upgrade by using the nominal installation parameters and the (undocumented) /upgrade switch.
For example, here is the full command line I used to upgrade my SCOM server.
setup.exe /silent /upgrade /EnableErrorReporting:Never /SendCEIPReports:0 /UseMicrosoftUpdate:0 /AcceptEndUserLicenseAgreement:1 /SendODRReports:0 /UseLocalSystemDASAccount
Hopefully if you’re like me and have been on the hunt for what the command line is, you’ve stumbled across this post and you’ve found it useful.