Disable-OutlookAnywhere (RTM)
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
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>]
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.
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. |
Input Types
Return Types
Errors
Error | Description |
---|---|
|
|
Exceptions
Exceptions | Description |
---|---|
|
|
Example
This code example disables Outlook Anywhere on the Client Access server named CAS01.
Disable-OutlookAnywhere -Server:CASO1