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 create an Exchange ActiveSync virtual directory in Microsoft Exchange Server 2007.

By default, when Exchange 2007 is installed, a new virtual directory is created in the default Web site in Internet Information Services (IIS). This virtual directory is named Microsoft-Server-ActiveSync. You can create additional Exchange ActiveSync virtual directories under Web sites other than the default Web site. All Exchange ActiveSync virtual directories you create will have the name Microsoft-Server-ActiveSync.

Note:
You can also use this procedure to create a new Exchange ActiveSync virtual directory if you have removed the virtual directory because it has become corrupted.

Before You Begin

To perform this procedure, the account you use must be delegated the Exchange Organization Administrator role.

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 create an Exchange ActiveSync virtual directory

  1. In this example, a new Exchange ActiveSync virtual directory is created under the contoso.com Web site.

  2. Run the following command:

    Copy Code
    New-ActiveSyncVirtualDirectory -WebSiteName "Contoso.com"
    

For more information about syntax and parameters, see New-ActiveSyncVirtualDirectory.

For More Information

For more information about how to manage Exchange ActiveSync virtual directories, see Managing the Exchange ActiveSync Virtual Directory.