Scripting Exchange 2013 Installation and Configuration

Scripting Exchange 2013 Installation and Configuration

Scripting Exchange 2013 Installation and Configuration lets you deploy Exchange 2013 quickly and with minimal interaction. The result is an Exchange 2013 server with a basic configuration able to send and receive emails.

 

The benefit of scripting the installation and basic configuration of Exchange 2013 is that it is quick and you don’t have to hang around watching it. Another major advantage is that using a well tested script will result in your Exchange 2013 deployments being very consistent and predictable.

In most environments you will want to carry out additional configurations such as install an SSL certificate, creating additional receive connectors and additional databases etc.

The Install-Exchange2013.ps1 script can be found here:
https://gallery.technet.microsoft.com/office/Exchange-2013-Unattended-e97ccda4

Make sure you read the authors blog post to understand the different parameters and various ways you can use this script.

The other scripts can be found here:

The InstallExch.ps1 script is not really necessary you can just run the Install-Exchange2013.ps1 script directly, I create these for different scenarios so I don’t have to remember exactly which switches I used and type it all out each time. I use read-host so I can just run the script and answer the questions.

Use this script to quickly configure your Exchange 2013 virtual directories with minimum fuss. This has been changed from the one in the video, it now has a separate parameter for Autodiscover URL. Again I use read-host a lot as I prefer to just execute a script and answer some simple questions.

This simple script firstly checks if any send connectors already exists, if they do then it adds your server to them as a source transport server. If no send connectors exist it creates a default one for you. There is a parameter for smart host and if you leave it blank it will use MX records to deliver mail.

Make sure you understand what these scripts do and test them out in labs before you start using them in live environments, although running these scripts will deploy Exchange 2013 with basic functionality there are lots of scenarios where you would configure Exchange differently. These scripts will need modifying to suit different configurations and maybe even leaving one or two out and carrying out configurations manually will be needed. You need to understand Exchange 2013 when using these scripts, they are not intended to let you get away with deploying Exchange without some knowledge and experience. What they are intended to do is help you speed up your deployments and give you some ideas on how you can script some other common configurations.

Thanks for watching and reading.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>