Get-CMDatabaseReplicationStatus

Gets the status for database replication.

Syntax

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

Description

The Get-CMDatabaseReplicationStatus cmdlet gets the status of the database replication link for a Microsoft System Center Configuration Manager parent/child site pair. The cmdlet identifies the sites by site code.

You can specify just the site code or just the name for a parent or child and get all the database replication links for the specified site.

Examples

Example 1: Get status using site codes

PS C:\> Get-CMDataBaseReplicationStatus -ChildSiteCode "CCC" -ParentSiteCode "CCA"

This command gets the status of a database replication link for the child with a site code CCC and the parent with a site code CCA.

Optional Parameters

-ChildSiteCode

Specifies a site code for a child site.

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

Indicates that wildcard handling is disabled.

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

Indicates that wildcard handling is enabled.

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

Specifies a site code for a parent site.

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