This PowerShell tool can be used to install Exchange and perform basic configuration of Exchange components like EAS, AutoDiscover URLS, Send/Receive Connectors, EAP's Accepted Domains, you can also manage your SSL certificates for Exchange.
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.