Applies to: Exchange Server 2007 SP1, Exchange Server 2007 Topic Last Modified: 2007-08-30
This topic explains how to use the Exchange Management Shell to create a new Autodiscover service virtual directory for Microsoft Exchange Server 2007.
To perform the following procedure, the account you use must be delegated the Exchange Server Administrator role and membership in the local Administrators group for the target server.
For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.
Also, before you perform this procedure, confirm that the Autodiscover service is disabled on the Exchange 2007 server. The Autodiscover service is disabled if the Autodiscover service virtual directory is not present under the Default Web Site node in the Internet Information Services (IIS) console tree. For more information about how to disable the Autodiscover service, see How to Delete the Default Autodiscover Service Virtual Directory.
Run the following command:
New-AutodiscoverVirtualDirectory -Websitename <websitename> -BasicAuthentication:$true -WindowsAuthentication:$true
For more information about syntax and parameters, see New-AutodiscoverVirtualDirectory.
For more information about the Autodiscover service, see the following topics: