Set-CMDatabaseReplicationLinkProperty
Updated: March 1, 2013
Applies To: System Center 2012 Configuration Manager SP1
Set-CMDatabaseReplicationLinkProperty
Syntax
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> -ChildSiteCode <String> -DaysOfWeek <DaysOfWeek[]> -ParentSiteCode <String> -TimePeriodEnd <Int32> -TimePeriodStart <Int32> [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
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.
Parameters
-AvailabilityLevel<InvAvailabilityLevel>
Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-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 |
-DaysOfWeek<DaysOfWeek[]>
Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-DegradedLinkStatusRetryCount<Int32>
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-EnableDistributedViewForHardwareInventory<Boolean>
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-EnableDistributedViewForSoftwareInventory<Boolean>
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-EnableDistributedViewForStatusMessage<Boolean>
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-FailedLinkStatusRetryCount<Int32>
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-GenerateReplicationDownAlert<Boolean>
Aliases | none |
Required? | false |
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 |
-ReplicationDataTrafficSummarizationIntervalMinutes<Int32>
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-ReplicationDownAlertThresholdMinutes<Int32>
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-TimePeriodEnd<Int32>
Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-TimePeriodStart<Int32>
Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-Confirm
Prompts you for confirmation before executing the command.
Required? | false |
Position? | named |
Default Value | false |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-WhatIf
Describes what would happen if you executed the command without actually executing the command.
Required? | false |
Position? | named |
Default Value | false |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
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
Example 1: Change settings of a database replication link
This command
PS C:\> Set-CMDatabaseReplicationLinkProperty -ParentSiteCode "CCC" -ChildSiteCode "CCB" -EnableDistributedViewForHardwareInventory 1 -EnableDistributedViewForSoftwareInventory 1 -EnableDistributedViewForStatusMessage 1 -ReplicationDataTrafficSummarizationIntervalMinutes 12 -DegradedLinkStatusRetryCount 40 -FailedLinkStatusRetryCount 60 -GenerateReplicationDownAlert 1 -ReplicationDownAlertThresholdMinutes 20
Example 2: Set the schedule for a database replication link
This command
PS C:\> Set-CMDatabaseReplicationLinkProperty -ParentSiteCode "CCC" -ChildSiteCode "CCB" -DaysOfWeek Friday, Monday, Tuesday -TimePeriodStart 8 -TimePeriodEnd 0 -AvailabilityLevel HINVSINV
