This script has been copied to Github here. https://github.com/LFAdmin/Automations

This is the script to configure Exchange 2013 urls. It will configure the following urls for all servers within 5 minutes and 3 inputs.

1. Autodiscoverserviceinternaluri

2, Offline Address Book Internal url

3. OWA internal url

4. ECP internal url

5. Activesync internal url

6. EWS internal url

7. Offline Address Book Externalurl

8. OWA Externalurl

9. ECP Externalurl

10. Activesync Externalurl

11. EWS Externalurl

 

 

Hope this will help your new deployments.

 

Prabhat Nigam

Microsoft MVP | Exchange Server