Get-CMDatabaseReplicationLinkProperty

Get-CMDatabaseReplicationLinkProperty

Gets a replication link between a Configuration Manager parent site and child site.

Syntax

Parameter Set: SearchBySiteMandatory
Get-CMDatabaseReplicationLinkProperty -ChildSiteCode <String> -ParentSiteCode <String> [ <CommonParameters>]

Detailed Description

The Get-CMDatabaseReplicationLinkProperty cmdlet gets a specified replication link between a Microsoft System Center 2012 Configuration Manager parent site and child site.

Database replication for System Center 2012 Configuration Manager sites transfers data and merges changes made in a site database with information stored at other sites in the System Center 2012 Configuration Manager hierarchy. This enables all sites to share the same information.

Parameters

-ChildSiteCode<String>

Specifies a site code for a Configuration Manager site. This parameter refers to the child site.

Aliases

Site2

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ParentSiteCode<String>

Specifies a site code for a Configuration Manager site. This parameter refers to the parent site.

Aliases

Site1

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

This command gets a replication link between specified parent and child sites. You must specify both sites.

PS C:\> Get-CMDatabaseReplicationLinkProperty -ChildSiteCode "CM8" -ParentSiteCode "CM1"