Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-08-30

This topic explains how to use the Exchange Management Shell to delete the default Autodiscover service virtual directory for Microsoft Exchange Server 2007.

Note:
You cannot use the Exchange Management Console to delete the default Autodiscover service virtual directory.

Before You Begin

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.

Procedure

To use the Exchange Management Shell to disable the Autodiscover service

  • Run the following command:

    Copy Code
    Remove-AutodiscoverVirtualDirectory -Identity "MyServer\autodiscover(autodiscover.contoso.com)" 
    

For more information about syntax and parameters, see Remove-AutodiscoverVirtualDirectory.

For More Information

For more information about the Autodiscover service, see Managing the Autodiscover Service.