How to: Install Exchange 2013 fully unattended

When you’ve to install a new Microsoft Exchange 2013 environment, you can start collecting all the necessary things, just lik pre-requisites etc…but there is a script available in the Microsoft TechNet Gallery. This script does the trick for you fully unattended. You just have to give in some names and paths. The script downloads all the pre-requisites, installs all the necessary Windows roles and features and installs Exchange 2013 the way you like 🙂

The script can be found here.

All you have to download is the Microsoft Exchange 2013 ISO and create some destination folders, that’s it!! You can also choose to install a multi role Exchange 2013 environment or maybe a multi server Exchange 2013 environment where you’ve multiple mailbox (MBX) and client access (CAS) servers. In my lab environment I’ve installed one multi role server in just a few clicks!! Below the commands I’ve used.

#######################################################################
Set-ExecutionPolicy Unrestricted

mkdir E:\Install\E2K13_ISO
mkdir E:\Databases\MDT01
mkdir E:\Logs\MDB01
mkdir E:\Install\Prereq

$Cred=Get-Credential
E:\Install\Install-Exchange2013.ps1 -Organization DemoLab -InstallMultirole -MDBDBPath E:\Databases\MDB01 -MDBLogPath E:\Logs\MDB01 -MDBName MDB01 -InstallPath E:\Install\Prereq -AutoPilot -Credentials $Cred -SourcePath E:\Install\E2K13_ISO -IncludeFixes -InstallFilterPack -Verbose
#######################################################################

2014-08-06_12h26_39    2014-08-06_12h27_00    2014-08-06_12h27_28

2014-08-06_12h29_50    2014-08-06_12h32_01    2014-08-06_12h32_07

2014-08-06_13h08_47    2014-08-06_13h08_53    2014-08-06_13h11_09

2014-08-06_13h12_06    2014-08-06_13h12_16    2014-08-06_13h12_37

2014-08-06_13h13_45    2014-08-06_13h14_35    2014-08-06_13h17_48

2014-08-06_16h52_55    2014-08-06_16h55_05    2014-08-06_17h03_07

2014-08-06_17h03_35    2014-08-06_17h08_25    2014-08-06_17h16_51

2014-08-06_17h19_35    2014-08-06_17h22_06