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

Synopsis

Use the Get-AdSiteLink cmdlet to view configuration information about an Active Directory IP site link.

Syntax

Get-AdSiteLink [-Identity <AdSiteLinkIdParameter>] [-DomainController <Fqdn>] [<CommonParameters>]

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 "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 [<AdSiteLinkIdParameter>]

The Identity parameter specifies the name or GUID of the IP site link for which you want to view configuration information.

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 returns a list of all IP site links in your organization.

Get-ADSiteLink

EXAMPLE 2

PS> 

 

This example returns a list of all IP site links in your organization that have a specific Exchange cost assigned.

Get-AdSiteLink | Where {$_.ExchangeCost -ne $null}