Export-AutoDiscoverConfig (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
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>]
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.
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 |
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. |
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.
Export-AutoDiscoverConfig -TargetForest targetForestName [-TargetForestCredentials <credentials>] [-SourceForestCredential <credentials>][-MultipleExchangeDeployments:$true] [-DomainController DC01]