Applies to: Exchange Server 2013
Topic Last Modified: 2012-07-12
Use the Add-AvailabilityAddressSpace cmdlet to define the access method and associated credentials used to exchange free/busy data across forests.
For information about the parameter sets in the Syntax section below, see Syntax.
Syntax
Add-AvailabilityAddressSpace -AccessMethod <PerUserFB
| OrgWideFB | PublicFolder | InternalProxy | OrgWideFBBasic>
-ForestName <String> [-Confirm [<SwitchParameter>]]
[-Credentials <PSCredential>] [-DomainController
<Fqdn>] [-Organization <OrganizationIdParameter>]
[-ProxyUrl <Uri>] [-TargetAutodiscoverEpr <Uri>]
[-UseServiceAccount <$true | $false>] [-WhatIf
[<SwitchParameter>]]
|
Examples
EXAMPLE 1
This example is useful with an untrusted cross-forest Availability service, or if detailed cross-forest free/busy service isn't desired. When you're prompted by the command, type a user name and password. For an untrusted cross-forest configuration, make sure that the user doesn't have a mailbox.
Copy Code | |
---|---|
Add-AvailabilityAddressSpace -ForestName <example.contoso.com> -AccessMethod OrgWideFB -Credentials <ExampleCredential> |
EXAMPLE 2
This example is useful with a trusted cross-forest Availability service. The contoso.com forest trusts the current forest, and the specified account connects to the contoso.com forest. The specified account must be an existing account in the contoso.com forest.
Copy Code | |
---|---|
Add-AvailabilityAddressSpace -ForestName <example.contoso.com> -AccessMethod PerUserFB -Credentials <ExampleCredential> |
EXAMPLE 3
This example is useful with a trusted cross-forest Availability service. The contoso.com forest trusts the current forest and uses the service account (typically the local system account or the computer account) to connect to the contoso.com forest. Because the service is trusted, there is no issue with authorization when the current forest tries to retrieve free/busy information from contoso.com.
Copy Code | |
---|---|
Add-AvailabilityAddressSpace -ForestName <example.contoso.com> -AccessMethod PerUserFB -UseServiceAccount $true |
EXAMPLE 4
This example is useful for interoperability between Exchange 2013 and versions of Exchange earlier than Exchange 2007, for example Exchange 2003.
Copy Code | |
---|---|
Add-AvailabilityAddressSpace -ForestName <example.contoso.com> -AccessMethod PublicFolder |
Detailed Description
You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Availability service address space settings" entry in the Clients and Mobile Devices Permissions topic.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
AccessMethod |
Required |
Microsoft.Exchange.Data.Directory.SystemConfiguration.AvailabilityAccessMethod |
The AccessMethod parameter specifies the availability access method and can have the following values:
|
ForestName |
Required |
System.String |
The ForestName parameter specifies the SMTP domain name of the target forest for users whose free/busy data must be retrieved. If your users are distributed among multiple SMTP domains in the target forest, run the Add-AvailabilityAddressSpace command once for each SMTP domain. |
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch. |
Credentials |
Optional |
System.Management.Automation.PSCredential |
The Credentials parameter specifies the credentials for an account that has permission to access the Availability services in the target forest. This parameter requires the creation and passing of a credential object. This credential object is created by using the Get-Credential cmdlet. For more information, see Get-Credential. |
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory. |
Organization |
Optional |
Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter |
The Organization parameter is reserved for internal Microsoft use. |
ProxyUrl |
Optional |
System.Uri |
The ProxyUrl parameter specifies whether to direct a Microsoft Exchange Server 2007 Client Access server to proxy its free/busy requests through an Exchange Server 2013 Client Access server when requesting federated free/busy data for a user in another organization. Before you can configure this setting, you must create the proper trust relationships and sharing relationships. For more information, see New-FederationTrust. |
TargetAutodiscoverEpr |
Optional |
System.Uri |
The TargetAutodiscoverEpr parameter specifies the Autodiscover URL of Exchange Web Services for the external organization, for example, https://contoso.com/autodiscover/autodiscover.svc/wssecurity. Exchange uses Autodiscover to automatically detect the correct server endpoint for external requests. |
UseServiceAccount |
Optional |
System.Boolean |
The UseServiceAccount parameter, when assigned a value of
|
WhatIf |
Optional |
System.Management.Automation.SwitchParameter |
The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, 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 switch. |
Input Types
To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.
Return Types
To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.