Come and Check our BETA Alpha version of Powershellcenter.net
Send me your comment to Powershell@powershellcenter.com

Synopsis

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

Syntax

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

Detailed Description

Computers running Microsoft Exchange Server 2010 that have the Hub Transport server role installed use Active Directory sites and the costs assigned to the Active Directory site links to determine the least cost routing path from each Hub Transport server in the organization to every other Hub Transport server in the organization. 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 Transport Permissions topic.

Parameters

-DomainController [<Fqdn>]

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

Required?   False
Position?   Named
Default value?    
Accept pipeline input?   False
Accept wildcard characters?   False

-Identity [<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 (").

Required?   False
Position?   1
Default value?    
Accept pipeline input?   True
Accept wildcard characters?   False

Input Type

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types (http://go.microsoft.com/fwlink/?LinkId=217198). If the Input Type field for a cmdlet is blank, the cmdlet doesn't accept input data.

Return Type

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types (http://go.microsoft.com/fwlink/?LinkId=217198). If the Output Type field is blank, the cmdlet doesn't return data.

Notes

Examples

EXAMPLE 1

PS> 

 

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

Get-AdSite -Identity Default-First-Site-Name