After checking the Exchange server object is present in Active Directory, installation will proceed as normal, with the exception of running setup in recovery mode.For example: Feedback Feedback is welcomed through the comments.There are comments in the script where to add your own additional post-configuration steps.For example, assume we want to start a fully unattended install of an Exchange Server 2013 Client Access server, using a network location for the Exchange Server 2013 source files.When done, the system will perform post configuration and finalization steps.When running in Auto Pilot mode, the system will automatically perform reboots and logons between the steps.Since Organization Name wasn’t specified, Active Directory preparation will be skipped.After rebooting, the system will automatically log on using the credentials specified earlier and start the script (Run Once registry key is utilized for this purpose).
Note that when not present, the script will try to download the prerequisites from the internet.
Note that it may seem like a lot of reboots, but rebooting after installing Windows features and Exchange prerequisites is required anyway so I put reboots after the other milestones as well.
Customization If you want to perform post-setup configuration of Exchange running Exchange cmdlets from the script, you need to tailor it to your needs.
It will read the last known state from the XML file and will continue with the next phase, which is downloading (when not present) and installing the Exchange prerequisites.
Next, after rebooting and the automatic logon, Exchange will be installed from the source location.