The Script in Use
Here is a quick run through of the URL configuration script:

The first menu loads up (same version for all version of Exchange):

With Option 1, you can specify an Internal URL for the various Exchange URLs:

With Option 2, you can specify an External URL for the various Exchange URLs:

With Option 3, you can specify an Internal & External URL for the various Exchange URLs:

With Option 4, you can specify an AutoDiscover URI for the various Exchange URLs:

Once you enter your namespaces, select option 99 and load up part two of the script:

Here a version specific menu will load.
Exchange Server 2007

Exchange Server 2010 to Exchange 2013 CU3

Exchange Server 2013 SP1 to Exchange 2016

After configuring the various URLs, when you exit, you can check to make sure the URLs were configured correctly:

Hope this script makes your configuration easier.
Limitations
* You can only specify a single namespace for internal URLs and a different namespace for external URLS. There is no allowance for a different namespace per service – ECP. EWS, etc.
* Only configures the local server. No option for other servers. Yet. Version 1.3? 1.4?
Download
Exchange 2007 – 2016 URL Modification Script v. 1.2
Great work, big thank you