Dela via


Set-CMSoftwareDistributionComponent

SYNOPSIS

Anger egenskaper för en komponent för programvarudistribution i Konfigurationshanteraren.

SYNTAX

SearchBySiteCodeMandatory (standard)

Set-CMSoftwareDistributionComponent [-AddNetworkAccessAccountName <String[]>] [-CleanNetworkAccessAccountName]
 [-DelayBeforeRetryingMins <Int32>] [-MaximumPackageCount <Int32>] [-MaximumThreadCountPerPackage <Int32>]
 [-MulticastDelayBeforeRetryingMins <Int32>] [-MulticastRetryCount <Int32>]
 [-NetworkAccessAccountName <String[]>] [-RemoveNetworkAccessAccountName <String[]>] [-RetryCount <Int32>]
 [-SiteCode <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

SearchBySiteCodeMandatory_ClientComputerAccount

Set-CMSoftwareDistributionComponent [-ClientComputerAccount] [-DelayBeforeRetryingMins <Int32>]
 [-MaximumPackageCount <Int32>] [-MaximumThreadCountPerPackage <Int32>]
 [-MulticastDelayBeforeRetryingMins <Int32>] [-MulticastRetryCount <Int32>] [-RetryCount <Int32>]
 [-SiteCode <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Cmdleten Set-CMSoftwareDistributionComponent anger egenskaper för en programvarudistributionskomponent i Konfigurationshanteraren. Du kan konfigurera egenskaperna för ett objekt för att uppfylla de krav som klienterna ställer på Konfigurationshanteraren plats.

Anteckning

Kör Konfigurationshanteraren cmdlets från Konfigurationshanteraren platsenheten, till exempel PS XYZ:\> . Mer information finns i Komma igång.

EXAMPLES

Exempel 1: Ange egenskaper för en programvarudistributionskomponent

PS XYZ:\> Set-CMSoftwareDistributionComponent -SiteCode "CM2" -MaximumPackageCount 3 -MaximumThreadsPerPackage 6 -RetryCount 99 -DelayBeforeRetryingMinutes 31 -MulticastRetryCount 4 -MulticastDelayBeforeRetryingMinutes 2 -NetworkAccessAccount "Western\ElisaDaugherty"

Följande kommando anger alla egenskaper för en programvarudistributionskomponent.

PARAMETERS

-AddNetworkAccessAccountName

{{ Fill AddNetworkAccessAccountName Description }}

Type: String[]
Parameter Sets: SearchBySiteCodeMandatory
Aliases: AddNetworkAccessAccountNames

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CleanNetworkAccessAccountName

{{ Fill CleanNetworkAccessAccountName Description }}

Type: SwitchParameter
Parameter Sets: SearchBySiteCodeMandatory
Aliases: CleanNetworkAccessAccountNames

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ClientComputerAccount

Anger att cmdleten använder ett klientdatorkonto.

Type: SwitchParameter
Parameter Sets: SearchBySiteCodeMandatory_ClientComputerAccount
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Uppmanar dig att bekräfta innan du kör cmdleten.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-DelayBeforeRetryingMins

Type: Int32
Parameter Sets: (All)
Aliases: DelayBeforeRetryingMinutes

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DisableWildcardHandling

Den här parametern behandlar jokertecken som värden för literaltecken. Du kan inte kombinera den med ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ForceWildcardHandling

Den här parametern bearbetar jokertecken och kan leda till oväntat beteende (rekommenderas inte). Du kan inte kombinera den med DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MaximumPackageCount

Anger ett maximalt antal paket.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MaximumThreadCountPerPackage

Type: Int32
Parameter Sets: (All)
Aliases: MaximumThreadsPerPackage

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MulticastDelayBeforeRetryingMins

Type: Int32
Parameter Sets: (All)
Aliases: MulticastDelayBeforeRetryingMinutes

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MulticastRetryCount

Anger antalet återförsök för multicast-programdistributionsförsök.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-NetworkAccessAccountName

Anger ett kontonamn för nätverksåtkomst.

Type: String[]
Parameter Sets: SearchBySiteCodeMandatory
Aliases: NetworkAccessAccountNames

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-RemoveNetworkAccessAccountName

{{ Fill RemoveNetworkAccessAccountName Description }}

Type: String[]
Parameter Sets: SearchBySiteCodeMandatory
Aliases: RemoveNetworkAccessAccountNames

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-RetryCount

Anger ett antal återförsök.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SiteCode

Anger en platskod för en Konfigurationshanteraren plats.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Visar vad som skulle hända om cmdleten kördes. Cmdleten körs inte.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

Denna cmdlet har stöd för parametrarna -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction och -WarningVariable. Mer information finns i about_CommonParameters.

INPUTS

Ingen

OUTPUTS

ANTECKNINGAR

Get-CMSoftwareDistributionComponent