Get-CMDatabaseReplicationLinkProperty

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

Syntax

Get-CMDatabaseReplicationLinkProperty
   -ChildSiteCode <String>
   -ParentSiteCode <String>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

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

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

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

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

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

Parameters

-ChildSiteCode

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

Type:String
Aliases:Site2
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ParentSiteCode

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

Type:String
Aliases:Site1
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Dictionary<string, object>

IResultObject