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 Outlook Web Access virtual directory in Microsoft Exchange Server 2007.

By default, when Exchange 2007 is installed, a new virtual directory named "owa" is created in the default Web site in Internet Information Services (IIS). Alternatively, when you run the New-OWAVirtualDirectory cmdlet in the Exchange Management Shell, a new virtual directory named "owa" is created in the default IIS Web site on the local Exchange 2007 server.

To create a new Outlook Web Access virtual directory, the following conditions must be true:

If you have to create a new virtual directory for Outlook Web Access, make sure that users are aware of the changes you are making. You will be interrupting mail flow for your users.

Important:
When the default owa virtual directory is created, both forms-based authentication and Secure Sockets Layer (SSL) encryption are enabled. However, when you create a new virtual directory by using the New-OWAVirtualDirectory cmdlet, FBA and SSL encryption are not enabled.

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 Outlook Web Access virtual directory

  • To create an Outlook Web Access virtual directory, run the following command:

    Copy Code
    New-OWAVirtualDirectory -OwaVirtualDirectory -OWAVersion "ExchangeVersion" -VirtualDirectoryType Mailboxes -Name "VirtualDirectoryName" -Website "Contoso.com"
    

In the previous procedure, a new Outlook Web Access virtual directory is created under the contoso.com Web site.

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

For More Information

For more information about the tools that you can use to manage Outlook Web Access and the administrative tasks that you can perform on Outlook Web Access, see Managing Outlook Web Access.