New-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 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>]
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.
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 |
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.
New-OutlookProvider -Name MyOABUrl