Set-CMDatabaseReplicationLinkProperty

Set-CMDatabaseReplicationLinkProperty

Changes configuration settings for a database replication link.

構文

Parameter Set: SetBySiteCodeMandatory
Set-CMDatabaseReplicationLinkProperty -ChildSiteCode <String> -ParentSiteCode <String> [-DegradedLinkStatusRetryCount <Int32> ] [-EnableDistributedViewForHardwareInventory <Boolean> ] [-EnableDistributedViewForSoftwareInventory <Boolean> ] [-EnableDistributedViewForStatusMessage <Boolean> ] [-FailedLinkStatusRetryCount <Int32> ] [-GenerateReplicationDownAlert <Boolean> ] [-ReplicationDataTrafficSummarizationIntervalMinutes <Int32> ] [-ReplicationDownAlertThresholdMinutes <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SetScheduleBySiteCodeMandatory
Set-CMDatabaseReplicationLinkProperty -AvailabilityLevel <InvAvailabilityLevel> {Closed | HINV | SINV | HINVSINV | StatMSG | HINVStatMSG | SINVStatMSG | HINVSINVStatMSG} -ChildSiteCode <String> -DaysOfWeek {Friday | Monday | Saturday | Sunday | Thursday | Tuesday | Wednesday}[] -ParentSiteCode <String> -TimePeriodEnd <Int32> -TimePeriodStart <Int32> [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Set-CMDatabaseReplicationLinkProperty cmdlet changes configuration settings for a database 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.

パラメーター

-AvailabilityLevel<InvAvailabilityLevel>

Specifies the availability level for software and hardware inventory on a client computer. Valid values are:

-- Closed
-- HINV
-- SINV
-- HINVSINV
-- StatMSG
-- HINVStatMSG
-- SINVStatMSG
-- HINVSINVStatMSG

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-ChildSiteCode<String>

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

エイリアス

Site2

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-DaysOfWeek<DaysOfWeek[]>

Specifies an array of day names that determine the days of each week on which Configuration Manager replicates the database for Configuration Manager sites. Valid values are:

-- Monday
-- Tuesday
-- Wednesday
-- Thursday
-- Friday
-- Saturday
-- Sunday

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-DegradedLinkStatusRetryCount<Int32>

Specifies a retry count when a replication group or object is delayed due to degraded link status.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-EnableDistributedViewForHardwareInventory<Boolean>

Indicates whether Configuration Manager configures the SQL Server distributed partitioned views for hardware inventory.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-EnableDistributedViewForSoftwareInventory<Boolean>

Indicates whether Configuration Manager configures the SQL Server distributed partitioned views for software inventory.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-EnableDistributedViewForStatusMessage<Boolean>

Indicates whether Configuration Manager configures the SQL Server distributed partitioned views for status messages.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-FailedLinkStatusRetryCount<Int32>

Specifies a retry count when a replication group or object is delayed by failed link status.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-GenerateReplicationDownAlert<Boolean>

Indicates whether to generate a replication down alert.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-ParentSiteCode<String>

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

エイリアス

Site1

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-ReplicationDataTrafficSummarizationIntervalMinutes<Int32>

Specifies the interval, in minutes, at which Configuration Manager summarizes report data for database replication traffic for the link.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-ReplicationDownAlertThresholdMinutes<Int32>

Specifies a threshold, in minutes, to elapse before Configuration Manager issues a replication down alert. Use this threshold to avoid sending alerts in response to false warnings.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-TimePeriodEnd<Int32>

Specifies an end time, in hours, of the period of time to wait before replication failures trigger the site to reinitializes its copy of the site database.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-TimePeriodStart<Int32>

Specifies a start time, in hours, of the period of time to wait before replication failures trigger the site to reinitializes its copy of the site database.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

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

false

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

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

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

false

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

false

<CommonParameters>

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

入力

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

出力

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

This command changes configuration settings for a database replication link between the Configuration Manager parent site that has the site code CCC and the child site that has the site code CCB.

PS C:\> Set-CMDatabaseReplicationLinkProperty -ParentSiteCode "CCC" -ChildSiteCode "CCB" -EnableDistributedViewForHardwareInventory 1 -EnableDistributedViewForSoftwareInventory 1 -EnableDistributedViewForStatusMessage 1 -ReplicationDataTrafficSummarizationIntervalMinutes 12 -DegradedLinkStatusRetryCount 40 -FailedLinkStatusRetryCount 60 -GenerateReplicationDownAlert 1 -ReplicationDownAlertThresholdMinutes 20

This command sets the schedule for the database replication link between the Configuration Manager parent site that has the site code CCC and the child site that has the site code CCB. The command specifies that Configuration Manager replicates the database for Configuration Manager sites on Friday, Monday and Tuesday. The command specifies software and hardware inventory availability on the client computer.

PS C:\> Set-CMDatabaseReplicationLinkProperty -ParentSiteCode "CCC" -ChildSiteCode "CCB" -DaysOfWeek Friday, Monday, Tuesday -TimePeriodStart 8 -TimePeriodEnd 0 -AvailabilityLevel HINVSINV

関連トピック

Get-CMDatabaseReplicationLinkProperty

Get-CMDataBaseReplicationStatus