Microsoft Exchange Server 2007 introduces a new service that makes it easier to provision devices for end users. The Autodiscover service simplifies the provisioning of your mobile device by returning the required system settings after you enter your e-mail address and password. By default, the Autodiscover service is enabled in Exchange Server 2007.
The ability to use Autodiscover depends on the mobile device operating system. Not all mobile device operating systems that support synchronization with Exchange Server 2007 support Autodiscover. For more information about operating systems that support Autodiscover, users must contact the manufacturer of the device.
To use the Exchange Management Shell to configure Autodiscover in Exchange ActiveSync, run one of the following commands:
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml">Set-ActiveSyncVirtualDirectory -Identity "COMPUTERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL "https://servername.com/"</pre> or