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

The Export-AutoDiscoverConfig cmdlet lets you create or update a Service Connection Point (SCP) for an Autodiscover service pointer in a target Exchange forest on a Microsoft Exchange Server 2007 computer that has the Client Access server role installed.

Syntax

Export-AutoDiscoverConfig [-DomainController <Fqdn>] [-MultipleExchangeDeployments <$true | $false>] [-PreferredSourceFqdn <Fqdn>] [-SourceForestCredential <PSCredential>] [-TargetForestCredential <PSCredential>] [-TargetForestDomainController <String>]

Parameters

Parameter Required Type Description

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name (FQDN) of the domain controller to the Active Directory directory service, include the DomainController parameter on the cmdlet.

MultipleExchangeDeployments

Optional

System.Boolean

This parameter specifies whether multiple Exchange deployments exist. This setting should be set to $true only if Exchange 2007 is deployed in more than one Active Directory forest and the forests are connected. If set to $true, the list of Authoritative Accepted Domains for the source forest is written to the Autodiscover SCP object. Microsoft Office Outlook 2007 clients will use this object to select the most appropriate forest to search for the Autodiscover service.

PreferredSourceFqdn

Optional

Microsoft.Exchange.Data.Fqdn

This parameter specifies the fully qualified domain name (FQDN) of the Active Directory domain for the Autodiscover pointer SCP object.

SourceForestCredential

Optional

System.Management.Automation.PSCredential

This parameter specifies the credentials to use when connecting to the source forest.

TargetForestDomainController

Optional

System.String

This parameter specifies the domain controller in the forest for which you want to create or update the Autodiscover settings.

TargetForestCredential

Optional

System.Management.Automation.PSCredential

This parameter specifies the credentials to use to connect to the target forest.

Detailed Description

The Export-AutoDiscoverConfig cmdlet lets you create or update an Autodiscover Service Connection Point (SCP) pointer in a target Exchange forest on an Exchange 2007 Client Access server. The Autodiscover SCP pointer resides in the Active Directory directory service and contains the names of the Exchange Web service URLs.

To run the Export-AutoDiscoveryConfig cmdlet, the account you use must be delegated the following:

  • Exchange Recipient Administrator role for the source server and the target server

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 code example creates an SCP object to another Active Directory forest so that Outlook 2007 clients can automatically connect to their mailbox without having to set up a profile.

Copy Code
Export-AutoDiscoverConfig -TargetForest targetForestName [-TargetForestCredentials <credentials>] [-SourceForestCredential <credentials>][-MultipleExchangeDeployments:$true] [-DomainController DC01]