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

Use the Remove-OutlookProvider cmdlet to delete the AutoDiscoverConfig object from Active Directory.

Syntax

Remove-OutlookProvider -Identity <OutlookProviderIdParameter> [-DomainController <Fqdn>]

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.OutlookProviderIdParameter

This parameter specifies the AutoDiscoverConfig object to remove from Active Directory.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name of the domain controller that retrieves data from Active Directory, include the DomainController parameter in the command.

Detailed Description

This cmdlet deletes the AutoDiscoverConfig object under the Global Settings object in Active Directory.

To run the Remove-OutlookProvider cmdlet, the account you use must be delegated the following:

  • Exchange Organization Administrator role

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 example deletes the AutoDiscoverConfig object named "Test Object" from Active Directory.

Copy Code
Remove-OutlookProvider -Identity "Test Object"