Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1
Topic Last Modified: 2007-11-01
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> [-Confirm
[<SwitchParameter>]] [-DomainController <Fqdn>]
[-WhatIf [<SwitchParameter>]]
|
Disable-OutlookAnywhere [-Confirm
[<SwitchParameter>]] [-DomainController <Fqdn>]
[-Server <ServerIdParameter>] [-WhatIf
[<SwitchParameter>]]
|
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. |
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
The Confirm parameter causes the command to pause processing and requires that you acknowledge what the command will do before processing continues. You do not have to specify a value with the Confirm parameter. |
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. |
WhatIf |
Optional |
System.Management.Automation.SwitchParameter |
The WhatIf parameter instructs the command to simulate the actions that it would take on the object. By using the WhatIf parameter, you can view what changes would occur without having to apply any of those changes. You do not have to specify a value with the WhatIf parameter. |
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 Exchange Server Administrator role and membership in the local Administrators group for the target server.
For more information about permissions, delegating roles, and the rights that are required to administer Exchange 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 |