Changing the Interal OWA URL, OOF, OAB, and Unified Message Service URL in Exchange 2007\nGet-WebServicesVirtualDirectory | fl *url*\nFind the string you want to change in my case it will be:\nhttps://ExchangeHUBCAS.myDomain.local/EWS/Exchange.asmx\nNext you will run this command to change the setting:\nGet-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -InternalUrl https://FQDN/EWS/Exchange.asmx\nYou can confirm your change by running:\nGet-OwaVirtualDirectory | fl *url*\nSimilarly you can change the Client Access Server auto discover service internal uri by running this command:\nGet-ClientAccessServer | fl *uri*\nThen:\nGet-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceUri http://FQDN/Autodiscover/Autodiscover.xml\nYou must then run IISReset\nSimilarly you can set your unfied messaging piece the same way:\nGet-UMVirtualDirectory\nGet-UMVirtualDirectory | Set-UmVirtualDirectory -internalurl https://FQDN/UnifiedMessaging/Service.asmx\nAll 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\n