Applies to: Exchange Server 2007
Topic Last Modified: 2007-06-11

The Enable-OutlookAnywhere cmdlet enables the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed for Outlook Anywhere. Running this cmdlet enables the server to accept requests from Microsoft Office Outlook 2007 and Outlook 2003 client computers from the Internet by using Outlook Anywhere, also known as RPC over HTTP.

Syntax

Enable-OutlookAnywhere -ExternalAuthenticationMethod <Basic | Digest | Ntlm | Fba | WindowsIntegrated | Misconfigured> -ExternalHostname <Hostname> -SSLOffloading <$true | $false> [-DomainController <Fqdn>] [-Server <ServerIdParameter>] [-TemplateInstance <PSObject>]

Parameters

Parameter Required Type Description

ExternalAuthenticationMethod

Required

Microsoft.Exchange.Data.Directory.SystemConfiguration.AuthenticationMethod

This parameter specifies the authentication method to use in the HTTP connections between Microsoft Outlook and the firewall and between the firewall and the /rpc virtual directory on the Client Access server that is enabled for Outlook Anywhere. This authentication method can be set to Basic or NTLM.

ExternalHostname

Required

Microsoft.Exchange.Data.Hostname

This parameter specifies the external host name to use in the Outlook profiles for users who are enabled for Outlook Anywhere.

SSLOffloading

Required

System.Boolean

This parameter specifies whether the Client Access server requires Secure Sockets Layer (SSL). This value should be set only to true when an SSL hardware solution is running in front of the Client Access server.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name (FQDN) of the domain controller, include the DomainController parameter on the cmdlet.

Server

Optional

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

This parameter specifies the name of the Client Access server to be enabled for Outlook Anywhere.

TemplateInstance

Optional

System.Management.Automation.PSObject

When an existing object is supplied with this parameter, the cmdlet uses the configuration of that object to create an identical copy of the object on a local or target server.

Detailed Description

The Enable-OutlookAnywhere cmdlet enables the Exchange 2007 Client Access server for Outlook Anywhere. This lets the server accept requests from Outlook 2007 and Outlook 2003 clients from the Internet by using Outlook Anywhere.

Important:
This cmdlet can be successfully run only if the RPC over HTTP proxy Windows networking component is already installed.
Note:
When you run this cmdlet, it can take as long as an hour for the settings to become effective, depending on how long it takes for Active Directory to replicate.

To run the Enable-OutlookAnywhere cmdlet, the account you use must be delegated the following:

  • Exchange Server Administrator role and local Administrators group for the target server

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Input Types

Return Types

Errors

Error Description

 

 

Exceptions

Exceptions Description

 

 

Example

This code example enables the server named Server01 for Outlook Anywhere. The external host name is set to mail.contoso.com, NTLM authentication is used, and SSL offloading is set to $true.

Copy Code
Enable-OutlookAnywhere -Server:Server01 -ExternalHostname:mail.contoso.com -ExternalAuthenticationMethod:NTLM -SSLOffloading:$true