Exchange 2010 Service Pack 1 SP1 download location
November 9, 2010How to allow relaying in Exchange 2007
November 17, 2010Changing the Interal OWA URL, OOF, OAB, and Unified Message Service URL in Exchange 2007
Get-WebServicesVirtualDirectory | fl *url*
Find the string you want to change in my case it will be:
https://ExchangeHUBCAS.myDomain.local/EWS/Exchange.asmx
Next you will run this command to change the setting:
Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -InternalUrl https://FQDN/EWS/Exchange.asmx
You can confirm your change by running:
Get-OwaVirtualDirectory | fl *url*
Similarly you can change the Client Access Server auto discover service internal uri by running this command:
Get-ClientAccessServer | fl *uri*
Then:
Get-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceUri http://FQDN/Autodiscover/Autodiscover.xml
You must then run IISReset
Similarly you can set your unfied messaging piece the same way:
Get-UMVirtualDirectory
Get-UMVirtualDirectory | Set-UmVirtualDirectory -internalurl https://FQDN/UnifiedMessaging/Service.asmx
All of these settings can be verified by opening an Outlook client and holding down cntrl while right clicking on the Outlook icon in the system tray. You will see an option that says Test E-mail AutoConfiguration