Set-CMDatabaseReplicationLinkProperty
SYNOPSIS
Wijzigt de configuratie-instellingen voor een databasereplicatiekoppeling.
SYNTAX
SetBySiteCodeMandatory (standaard)
Set-CMDatabaseReplicationLinkProperty -ChildSiteCode <String> [-DegradedLinkStatusRetryCount <Int32>]
[-EnableDistributedViewForHardwareInventory <Boolean>] [-EnableDistributedViewForSoftwareInventory <Boolean>]
[-EnableDistributedViewForStatusMessage <Boolean>] [-FailedLinkStatusRetryCount <Int32>]
[-GenerateReplicationDownAlert <Boolean>] -ParentSiteCode <String>
[-ReplicationDataTrafficSummarizationMins <Int32>] [-ReplicationDownAlertMins <Int32>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
SetScheduleBySiteCodeMandatory
Set-CMDatabaseReplicationLinkProperty -AvailabilityLevel <InvAvailabilityLevel> -ChildSiteCode <String>
-DaysOfWeek <DaysOfWeek[]> -ParentSiteCode <String> -ReplicationEndHr <Int32> -ReplicationStartHr <Int32>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
De cmdlet Set-CMDatabaseReplicationLinkProperty wijzigt de configuratie-instellingen voor een databasereplicatiekoppeling tussen een Configuration Manager bovenliggende site en onderliggende site.
Databasereplicatie Configuration Manager sites brengt gegevens over en voegt wijzigingen die zijn aangebracht in een sitedatabase samen met informatie die is opgeslagen op andere sites in de Configuration Manager hiƫrarchie. Dit zorgt ervoor dat alle sites dezelfde informatie kunnen delen.
Notitie
Voer Configuration Manager cmdlets uit vanaf Configuration Manager-sitestation, bijvoorbeeld PS XYZ:\>
. Zie Aan de slag voor meer informatie.
EXAMPLES
Voorbeeld 1: Instellingen van een databasereplicatiekoppeling wijzigen
PS XYZ:\> Set-CMDatabaseReplicationLinkProperty -ParentSiteCode "CCC" -ChildSiteCode "CCB" -EnableDistributedViewForHardwareInventory 1 -EnableDistributedViewForSoftwareInventory 1 -EnableDistributedViewForStatusMessage 1 -ReplicationDataTrafficSummarizationIntervalMinutes 12 -DegradedLinkStatusRetryCount 40 -FailedLinkStatusRetryCount 60 -GenerateReplicationDownAlert 1 -ReplicationDownAlertThresholdMinutes 20
Met deze opdracht worden de configuratie-instellingen voor een databasereplicatiekoppeling gewijzigd tussen de bovenliggende site Configuration Manager met de sitecode CCC en de onderliggende site met de sitecode CCB.
Voorbeeld 2: de planning voor een databasereplicatiekoppeling instellen
PS XYZ:\> Set-CMDatabaseReplicationLinkProperty -ParentSiteCode "CCC" -ChildSiteCode "CCB" -DaysOfWeek Friday, Monday, Tuesday -TimePeriodStart 8 -TimePeriodEnd 0 -AvailabilityLevel HINVSINV
Met deze opdracht stelt u het schema in voor de databasereplicatiekoppeling tussen de bovenliggende site Configuration Manager met de sitecode CCC en de onderliggende site met de sitecode CCB. De opdracht geeft aan dat Configuration Manager database voor Configuration Manager sites op vrijdag, maandag en dinsdag repliceert. Met de opdracht geeft u de beschikbaarheid van software- en hardware-inventaris op de clientcomputer op.
PARAMETERS
-AvailabilityLevel
Hiermee geeft u het beschikbaarheidsniveau voor software- en hardware-inventarisatie op een clientcomputer op. De aanvaardbare waarden voor deze parameter zijn:
- Gesloten
- HINV
- SINV
- HINVSINV
- StatMSG
- HINVStatMSG
- SINVStatMSG
- HINVSINVStatMSG
Type: InvAvailabilityLevel
Parameter Sets: SetScheduleBySiteCodeMandatory
Aliases:
Accepted values: Closed, HINV, SINV, HINVSINV, StatMSG, HINVStatMSG, SINVStatMSG, HINVSINVStatMSG
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ChildSiteCode
Hiermee geeft u een sitecode voor een Configuration Manager site. Deze parameter verwijst naar de onderliggende site.
Type: String
Parameter Sets: (All)
Aliases: Site2
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Hiermee wordt u gevraagd om bevestiging voordat u de cmdlet uitvoert.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-DaysOfWeek
Hiermee geeft u een matrix met dagnamen op die de dagen van elke week bepalen waarop Configuration Manager database repliceert voor Configuration Manager sites. De aanvaardbare waarden voor deze parameter zijn:
- Maandag
- Dinsdag
- Woensdag
- Donderdag
- Vrijdag
- Saturday
- Sunday
Type: DaysOfWeek[]
Parameter Sets: SetScheduleBySiteCodeMandatory
Aliases:
Accepted values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DegradedLinkStatusRetryCount
Hiermee geeft u het aantal nieuwe poging op wanneer een replicatiegroep of -object wordt vertraagd vanwege een gedegradeerde koppelingsstatus.
Type: Int32
Parameter Sets: SetBySiteCodeMandatory
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DisableWildcardHandling
Deze parameter behandelt jokertekens als letterlijke tekenwaarden. U kunt deze niet combineren met ForceWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-EnableDistributedViewForHardwareInventory
Geeft aan of Configuration Manager de SQL Server gedistribueerde gepartitiede weergaven voor hardware-inventaris configureert.
Type: Boolean
Parameter Sets: SetBySiteCodeMandatory
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-EnableDistributedViewForSoftwareInventory
Geeft aan of Configuration Manager de SQL Server gedistribueerde gepartitiede weergaven voor software-inventaris configureert.
Type: Boolean
Parameter Sets: SetBySiteCodeMandatory
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-EnableDistributedViewForStatusMessage
Geeft aan of Configuration Manager de SQL Server gedistribueerde gepartitiede weergaven voor statusberichten configureert.
Type: Boolean
Parameter Sets: SetBySiteCodeMandatory
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FailedLinkStatusRetryCount
Hiermee geeft u het aantal nieuwe pogingen op wanneer een replicatiegroep of -object wordt vertraagd door de status van de mislukte koppeling.
Type: Int32
Parameter Sets: SetBySiteCodeMandatory
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ForceWildcardHandling
Deze parameter verwerkt jokertekens en kan leiden tot onverwacht gedrag (niet aanbevolen). U kunt deze niet combineren met DisableWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-GenerateReplicationDownAlert
Geeft aan of een waarschuwing voor replicatie naar beneden moet worden gegenereerd.
Type: Boolean
Parameter Sets: SetBySiteCodeMandatory
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ParentSiteCode
Hiermee geeft u een sitecode voor een Configuration Manager site. Deze parameter verwijst naar de bovenliggende site.
Type: String
Parameter Sets: (All)
Aliases: Site1
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ReplicationDataTrafficSummarizationMins
Type: Int32
Parameter Sets: SetBySiteCodeMandatory
Aliases: ReplicationDataTrafficSummarizationIntervalMinutes
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ReplicationDownAlertMins
Type: Int32
Parameter Sets: SetBySiteCodeMandatory
Aliases: ReplicationDownAlertThresholdMinutes
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ReplicationEndHr
Type: Int32
Parameter Sets: SetScheduleBySiteCodeMandatory
Aliases: TimePeriodEnd, ReplicationEndHour
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ReplicationStartHr
Type: Int32
Parameter Sets: SetScheduleBySiteCodeMandatory
Aliases: TimePeriodStart, ReplicationStartHour
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Hiermee wordt weergegeven wat er zou gebeuren als u de cmdlet uitvoert. De cmdlet wordt niet uitgevoerd.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
Deze cmdlet biedt ondersteuning voor de meest gebruikte parameters: -Debug, - ErrorAction, - ErrorVariable, - InformationAction, -InformationVariable, - OutVariable,-OutBuffer, - PipelineVariable - Verbose, - WarningAction en -WarningVariable. Zie voor meer informatie about_CommonParameters.