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

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> [-DomainController <Fqdn>] [-TemplateInstance <PSObject>]

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

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