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

The Disable-OutlookAnywhere cmdlet disables Outlook Anywhere on the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

Running the Disable-OutlookAnywhere cmdlet prevents the Client Access server from accepting requests from Microsoft Office Outlook 2007 and Office Outlook 2003 clients from the Internet by using Outlook Anywhere, also known as RPC over HTTP.

Syntax

Disable-OutlookAnywhere -Identity <VirtualDirectoryIdParameter> [-DomainController <Fqdn>] [-Server <ServerIdParameter>]

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter

This parameter is the identity of the virtual directory that you want to disable.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

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

Server

Optional

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

This parameter specifies the name of the Client Access server on which Outlook Anywhere is to be disabled.

Detailed Description

The Disable-OutlookAnywhere cmdlet disables Outlook Anywhere on the Exchange 2007 Client Access server. Running the Disable-OutlookAnywhere cmdlet prevents the Client Access server from accepting requests from Outlook 2007 and Outlook 2003 clients from the Internet by using Outlook Anywhere, also known as RPC over HTTP.

Note:
After you run this cmdlet, it can take as long as an hour for the settings to become effective. The time that is required depends on how long it takes for Active Directory to replicate.

After the Client Access server has been disabled for Outlook Anywhere, you may want to remove the Windows RPC over HTTP proxy Windows networking component.

To run the Disable-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 disables Outlook Anywhere on the Client Access server named CAS01.

Copy Code
Disable-OutlookAnywhere -Server:CASO1