Exchange 2010: Script for the basic configuration

Anyone who frequently installs and configures Exchange Server likes to have the work done for them. I have written a Powershell script for the basic configuration of Exchange, which makes the following settings:

  • Change the name of the mailbox database
  • Change the path of the mailbox database
  • Change the name of the EDB file of the mailbox database
  • Change the name of the public folder database if required
  • Change the path of the public folder database if required
  • If required, change the name of the EDB file of the public folder database
  • Create new accepted domain
  • Create send connector (smarthost or DNS selectable)
  • Change default receive connector to anonymous receive

The script first queries the values for the settings and then applies them. Currently, this only works if the Mailbox, ClientAccess and HubTransport roles are installed on the same server. However, it can be used for a test environment or smaller installations (please test beforehand).

Basic configuration

To execute the script, the following command must first be executed:

Set-ExecutionPolicy remotesigned

The script can be downloaded here:

Configure-Exchange.zip

Are you missing basic settings or is something not working? Please write me feedback so that I can improve it.

1 thought on “Exchange 2010: Script für die Basiskonfiguration”

Leave a Comment