PowerShell Logo Small

Get-ADReplicationSite



This is the built-in help made by Microsoft for the command 'Get-ADReplicationSite', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Returns a specific Active Directory replication site or a set of replication site objects based on a specified filter.

SYNTAX


Get-ADReplicationSite [[-Identity] <ADReplicationSite>] [-AuthType <ADAuthType>] [-Credential <PSCredential>] [-Properties <String[]>]
[-Server <String>] [<CommonParameters>]
Get-ADReplicationSite [-AuthType <ADAuthType>] [-Credential <PSCredential>] [-Properties <String[]>] [-Server <String>] -Filter <String>
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-ADReplicationSite cmdlet returns a specific Active Directory replication site or a set of replication site objects based on a
specified filter. Sites are used in Active Directory to either enable clients to discover network resources (published shares, domain
controllers) close to the physical location of a client computer or to reduce network traffic over wide area network (WAN) links. Sites can
also be used to optimize replication between domain controllers.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=216357
New-ADReplicationSite
Remove-ADReplicationSite
Set-ADReplicationSite

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

C:\PS>Get-ADReplicationSite -Filter *



Description

-----------

Get all the sites.




-------------------------- EXAMPLE 2 --------------------------

C:\PS>Get-ADReplicationSite -Properties * -Filter {WindowsServer2003KCCSiteLinkBridgingEnabled -eq $TRUE}



Description

-----------

Get all sites that have the WindowsServer2003KCCBehaviorEnabled flag turned on. (The –Properties parameter must be set because the
WindowsServer2003KCCSiteLinkBridgingEnabled property is not retrieved by default.)




-------------------------- EXAMPLE 3 --------------------------

C:\PS>Get-ADReplicationSite NorthAmerica



Description

-----------

Get the site with name 'NorthAmerica'.




-------------------------- EXAMPLE 4 --------------------------

C:\PS>Get-ADReplicationSite NorthAmerica -Properties AutomaticInterSiteTopologyGenerationEnabled



Description

-----------

Get the AutomaticInterSiteTopologyGenerationEnabled property of the site with name 'NorthAmerica'.