Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1
Topic Last Modified: 2007-06-28

Use the New-OutlookProvider cmdlet to create the AutoDiscoverConfig object and populates the AutoDiscoverConfig object that has the relevant settings.

Syntax

New-OutlookProvider -Name <String> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-TemplateInstance <PSObject>] [-WhatIf [<SwitchParameter>]]

Parameters

Parameter Required Type Description

Name

Required

System.String

The Name parameter provides the common name of the Microsoft Outlook Provider Configuration object. This can be a user-friendly name for identification.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

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

TemplateInstance

Optional

System.Management.Automation.PSObject

When an existing object is supplied to the TemplateInstance parameter, the command will use the configuration of that object to create an exact duplicate of the object on a local or target server

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm parameter causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You do not have to specify a value with the Confirm parameter.

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 don't have to specify a value with the WhatIf parameter.

Detailed Description

The New-OutlookProvider cmdlet creates the AutoDiscoverConfig object under the Global Settings object in the Active Directory directory service and sets the attributes specified in the Parameters section.

To run the New-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

In this example, the New-OutlookProvider command is used to create a new AutoDiscoverConfig object that is called MyOABUrl.

Copy Code
New-OutlookProvider -Name MyOABUrl