Let’s go over the process to upgrade your existent Exchange Server 2013 version to the latest Service Pack 1 using command-line.
Before starting I would like to point out a few key tasks that the administrator should be aware before any regular upgrade on your environment:
- Make sure that you have a valid and tested backup of you Exchange Server, Mailbox Database(s) and Active Directory
- Make sure that all third-party vendors that you use on your environment support the Service Pack 1
- Make sure that there are no backup jobs running the upgrade process
- Stop all backup services; and third-party services, such as System Center Operations Manager and so forth
- Make sure that you don’t have any pending restart due Windows Updates and/or previous roles/features installed on the server
- If you have a DAG then it is important to put the server in maintenance mode (I’m writing an article about that in the near future however here is the official documentation http://technet.microsoft.com/en-us/library/dd298065(v=exchg.150).aspx#Pm)
The first step is to download the Exchange Server 2013 SP1 (http://www.microsoft.com/download/details.aspx?id=41994) and extract the content to a local folder (we are going to use C:EX2013SP1 for instance).
Before starting the process let’s check our existent servers using the following cmdlet and as you may have noticed we have 2 (two) Exchange Server 2010 and 1 (one) Exchange Server 2013. Based on the AdminDisplayVersion we can find out what we have in place, for Exchange Server 2010 we are using Service Pack 3 (188.8.131.52) and for Exchange Server 2013 we have RTM (15.0.516.32).
Note: A list of all releases for Exchange Server 2010 and earlier versions can be found here: https://social.technet.microsoft.com/wiki/contents/articles/240.exchange-server-and-update-rollups-build-numbers.aspx. For a list of all Exchange Server 2013 releases, we can use this link: http://social.technet.microsoft.com/wiki/contents/articles/15776.exchange-server-2013-and-cumulative-updates-cus-build-numbers.aspx
Open a command prompt as administrator, and go to the folder where the Exchange Server 2013 SP1 was extracted, and run the following command and the results will be shown in the figure below as well.
Setup.exe /m:upgrade /IAcceptExchangeServerLicenseTerms
If you don’t have any issues then you server was upgraded properly, and if we run the same first cmdlet of this Tutorial, then we should have the AdminDisplayVersion of (15.0 Build 847.32)
Have you got any issue during the installation ?
I hope not but in some cases an error may show up during the installation process and we need to start the troubleshooting process.
The first place to start finding error messages and start your research is the folder C:ExchangeSetupLogs where all the installation process stores the information and that helps a lot. Also the Event Viewer always is a good option.