Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2012-07-23

You can use the Shell to remove a Microsoft Exchange ActiveSync virtual directory in Microsoft Exchange Server 2010.

By default, when Exchange 2010 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 remove the default Exchange ActiveSync virtual directory or any additional Exchange ActiveSync virtual directories you create.

Note:
You can also use this procedure to remove an Exchange ActiveSync virtual directory if the virtual directory settings become corrupted.

Looking for other management tasks related to Exchange ActiveSync? Check out Managing Exchange ActiveSync.

Use the Shell to remove an Exchange ActiveSync virtual directory

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Exchange ActiveSync server settings" entry in the Client Access Permissions topic.

This example removes the Exchange ActiveSync virtual directory under the contoso.com Web site.

Copy Code
Remove-ActiveSyncVirtualDirectory -Identity "Contoso.com\Microsoft-Server-ActiveSync"

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

Other Tasks

After you remove an Exchange ActiveSync virtual directory, you may also want to: