How to Create an Exchange ActiveSync Virtual Directory
Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
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.
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.
To use the Exchange Management Shell to create an Exchange ActiveSync virtual directory
In this example, a new Exchange ActiveSync virtual directory is created under the contoso.com Web site.
Run the following command:
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.