This script automates the process of
Installing Windows Server 2012 features, Active Directory preparation (Optional), Installing Exchange Server 2013 prerequisites, Installing Exchange Server 2013 and perform post-configuration (tailor to own needs) (Optional).
This script is tested on these platforms by the author. It is likely to work on other platforms as well. If you try it and find that it works on another platform, please add a note to the script discussion to let others know.