Applies to: Exchange Server 2013

Topic Last Modified: 2012-06-08

Use the Get-AdSite cmdlet to display configuration information about one or more Active Directory sites.

Syntax

Get-AdSite [-Identity <AdSiteIdParameter>] [-DomainController <Fqdn>]

Examples

EXAMPLE 1

This example displays the configuration details for the Active Directory site named Default-First-Site-Name.

Copy Code
Get-AdSite Default-First-Site-Name

Detailed Description

Exchange uses Active Directory sites and the costs assigned to the Active Directory site links to make message routing decisions.

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 "Transport configuration" entry in the Mail Flow Permissions topic.

Parameters

Parameter Required Type Description

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.AdSiteIdParameter

The Identity parameter specifies the identity of the Active Directory site for which you want to view configuration details. The identity can be expressed as a GUID or the Active Directory site name. If the Active Directory site name includes spaces, enclose the name in quotation marks (").

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.