Hurrah! If you have not yet heard: Exchange Server 2019 Public preview was announced earlier, and it is the first version of Exchange that you can install on Server Core!
Now, while that’s great news, if you haven’t worked on Server Core, there may be bit of a learning curve. The purpose of this post is to help you install the Exchange Server 2019 on Server Core in your lab.
We are going to assume that you have:
Installed an Active Directory global catalog domain controller. Exchange Server 2019 will work with writable DCs running Windows 2012 R2 and above. Here’s a link to get you going with Active Directory, in case you have not installed it yet.
(In case you need help with Server Core deployment, please follow this link).
Once you have installed Server Core and booted it up, you may find yourself staring at this strange, unfamiliar login prompt:
From here on, this command line interface is your friend!
Once you’re logged in, you will get the basic Command prompt window. From here, you can use the start command to launch processes into a new window. For instance, if you type start powershell, PowerShell will be launched into a new window. You can also type start cmd to launch an additional instance of the command interpreter. You can use exit to close any process. Typing taskmgr will launch the graphical based TaskMgr application.
If you close all command prompt windows and want to open a new one, you can do that from the Task Manager. To launch Task Manager try the CTRL+ESC shortcut, or if you’re logged in via Remote Desktop you may need to use CTRL+ALT+DELETE, click Start Task Manager. Then, , click More Details > File > Run, and then type cmd.exe. (Or Powershell.exe to open a PowerShell command window.) Alternatively, you can sign out and then sign back in.
Prepare the OS for Exchange installation
The following are preliminary tasks you will need to perform to configure the OS for Exchange installation. You can use Sconfig to configure the IP Address, install Windows Updates, enable remote desktop and join the server to AD domain. Alternatively, you can use PowerShell commands to perform each of these tasks, which is useful for scripted installations as well.
Configure IP Address:
Use the Get-NetIPAddress PowerShell command and identify interface index you want to configure the static IP on. Mostly, this should be the one that has Interface Alias Ethernet and AIPA auto assigned DHCP Address.
Sample Get-NetIPAddress output:
Then use the following command to assign a static IP:
The UCMA installable is located under the “UCMARedist” folder on the Exchange Server 2019 .ISO. Start the UCMA installation:
Check the .Net version installed by following this link
If you are not on .Net version 4.7.1 already, use the following command to install the .Net 4.7.1 (not required on Windows Server 2019 Server Core):
The .Net installation will continue in quiet mode, i.e. no progress bar will be displayed. At the end of successful installation, you will be asked to restart the computer. You can also take a look at the log file to check progress of the installation.
Start Notepad c:\temp\ndp.log
Do not reboot the server just yet; join the computer to an AD domain and then reboot it.
Use the following PowerShell command to restart the computer:
After rebooting the server mount the Exchange .ISO image again using Mount-DiskImage as you did before.
Use the following command to start Exchange Server installation. The PowerShell command will also install the required OS components for Exchange:
Once Exchange is installed, you can launch the Exchange Management Shell using LaunchEMS command from the command line.
Alternatively, you can also use web browser from an admin workstation to access Exchange Admin Center.
We hope this article will help you to get started with your Exchange Server 2019 deployment on Server Core and help you perform various Exchange admin tasks once you are done!
Here are some more links that you can use to learn more!
Getting started with Server Core
Use the following information to install, configure, and manage the Server Core installation option of Windows Server.
Server Core installation: