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
#######################################################################