Remove-OutlookProvider (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
Use the Remove-OutlookProvider cmdlet to delete the AutoDiscoverConfig object from Active Directory.
Syntax
Remove-OutlookProvider -Identity <OutlookProviderIdParameter> [-DomainController <Fqdn>]
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.
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. |
Input Types
Return Types
Errors
Error | Description |
---|---|
Exceptions
Exceptions | Description |
---|---|
Example
This example deletes the AutoDiscoverConfig object named "Test Object" from Active Directory.
Remove-OutlookProvider -Identity "Test Object"