Get-CMDataBaseReplicationStatus

Get-CMDataBaseReplicationStatus

Gets the status for database replication.

構文

Parameter Set: SearchBySite
Get-CMDataBaseReplicationStatus [-ChildSiteCode <String> ] [-ParentSiteCode <String> ] [ <CommonParameters>]

詳細説明

The Get-CMDatabaseReplicationStatus cmdlet gets the status of the database replication link for a Microsoft System Center 2012 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.

パラメーター

-ChildSiteCode<String>

Specifies a site code for a child site.

エイリアス

Site2

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ParentSiteCode<String>

Specifies a site code for a parent site.

エイリアス

Site1

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Get status using site codes

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.

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