Applies to: Exchange Server 2013

Topic Last Modified: 2012-09-14

Use the Get-OrganizationConfig cmdlet to get configuration data for an Exchange organization.

For information about the parameter sets in the Syntax section below, see Syntax.

Syntax

Get-OrganizationConfig [-Identity <OrganizationIdParameter>] <COMMON PARAMETERS>
Get-OrganizationConfig [-AccountPartition <AccountPartitionIdParameter>] <COMMON PARAMETERS>
COMMON PARAMETERS: [-DomainController <Fqdn>]

Examples

EXAMPLE 1

This example gets the organization configuration information for the domain controller ContosoDC.

Copy Code
Get-OrganizationConfig -DomainController ContosoDC

EXAMPLE 2

This example gets the configuration information for the tenant organization.

Copy Code
Get-OrganizationConfig Export-Cli c:\myFile.xml

For more information, see Troubleshoot a Hybrid Deployment.

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 "Shell infrastructure permissions" section in the Exchange and Shell Infrastructure Permissions topic.

Parameters

Parameter Required Type Description

AccountPartition

Optional

Microsoft.Exchange.Configuration.Tasks.AccountPartitionIdParameter

This parameter is reserved for internal Microsoft use.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

The Identity parameter specifies the organization you want configuration data from.

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.