PowerShell script to configure Client Access server URLs for Microsoft Exchange Server
Switch branches/tags
Nothing to show
Clone or download
Failed to load latest commit information.
ConfigureExchangeURLs.ps1 Updated version info Nov 17, 2016
GetExchangeURLs.ps1 Updates scripts Aug 27, 2015
LICENSE Create LICENSE Jun 15, 2015
README.md Updated Readme Nov 17, 2016


#Exchange Server URL Configuration Scripts

This repository contains two scripts that are useful for reviewing or configuring the URLs for the various Client Access services on Exchange Servers.


The GetExchangeURLs.ps1 script will return a list of the URLs configured on a Client Access server. This can be used to quickly review the existing configuration.


.\Get-ExchangeURLs.ps1 -Server sydex1


The ConfigureExchangeURLs.ps1 script will configure one or more Client Access servers for the namespaces you specify. All Client Access server URLs will be set to the same namespace.

If you are using separate namespaces for each CAS service this script will not handle that.

The script sets Outlook Anywhere to use NTLM with SSL required by default. If you have different auth requirements for Outlook Anywhere use the optional parameters to set those.


  • -Server - The name(s) of the server(s) you are configuring.
  • -InternalURL - The internal namespace you are using.
  • -ExternalURL - The external namespace you are using.
  • -AutodiscoverSCP - Used to set a different Autodiscover URL if you need to.
  • -InternalSSL - Specifies the internal SSL requirement for Outlook Anywhere. Defaults to True (SSL required).
  • -ExternalSSL - Specifies the external SSL requirement for Outlook Anywhere. Defaults to True (SSL required).


.\ConfigureExchangeURLs.ps1 -Server sydex1 -InternalURL mail.exchangeserverpro.net -ExternalURL mail.exchangeserverpro.net
.\ConfigureExchangeURLs.ps1 -Server sydex1,sydex2 -InternalURL mail.exchangeserverpro.net -ExternalURL mail.exchangeserverpro.net
.\ConfigureExchangeURLs.ps1 -Server sydex1 -InternalURL mail.exchangeserverpro.net -ExternalURL mail.exchangeserverpro.net -AutodiscoverSCP autodiscover.exchangeserverpro.net

##More Info



Written by: Paul Cunningham

For more Exchange Server tips, tricks and news check out Exchange Server Pro.

Find me on: