Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

PowerShell script to configure Client Access server URLs for Microsoft Exchange Server

License

Notifications You must be signed in to change notification settings

cunninghamp/ConfigureExchangeURLs.ps1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

GetExchangeURLs.ps1

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.

Example:

.\Get-ExchangeURLs.ps1 -Server sydex1

ConfigureExchangeURLs.ps1

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.

Parameters:

  • -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).

Examples:

.\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

http://exchangeserverpro.com/powershell-script-configure-exchange-urls/

Credits

Written by: Paul Cunningham

Find me on:

Check out my books and courses to learn more about Office 365 and Exchange Server.

About

PowerShell script to configure Client Access server URLs for Microsoft Exchange Server

Resources

License

Stars

Watchers

Forks

Packages

No packages published