description | external help file | Module Name | ms.date | schema | title |
---|---|---|---|---|---|
Sets properties of a software distribution component in Configuration Manager. |
AdminUI.PS.dll-Help.xml |
ConfigurationManager |
05/07/2019 |
2.0.0 |
Set-CMSoftwareDistributionComponent |
Sets properties of a software distribution component in Configuration Manager.
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>]
Set-CMSoftwareDistributionComponent [-ClientComputerAccount] [-DelayBeforeRetryingMins <Int32>]
[-MaximumPackageCount <Int32>] [-MaximumThreadCountPerPackage <Int32>]
[-MulticastDelayBeforeRetryingMins <Int32>] [-MulticastRetryCount <Int32>] [-RetryCount <Int32>]
[-SiteCode <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
The Set-CMSoftwareDistributionComponent cmdlet sets properties of a software distribution component in Configuration Manager. You can configure the properties of an object to meet the demands that clients place on the Configuration Manager site.
Note
Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>
. For more information, see getting started.
PS XYZ:\> Set-CMSoftwareDistributionComponent -SiteCode "CM2" -MaximumPackageCount 3 -MaximumThreadsPerPackage 6 -RetryCount 99 -DelayBeforeRetryingMinutes 31 -MulticastRetryCount 4 -MulticastDelayBeforeRetryingMinutes 2 -NetworkAccessAccount "Western\ElisaDaugherty"
The following command sets all properties for a software distribution component.
{{ 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
{{ 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
Indicates that the cmdlet uses a client computer account.
Type: SwitchParameter
Parameter Sets: SearchBySiteCodeMandatory_ClientComputerAccount
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: Int32
Parameter Sets: (All)
Aliases: DelayBeforeRetryingMinutes
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a maximum number of packages.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: Int32
Parameter Sets: (All)
Aliases: MaximumThreadsPerPackage
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: Int32
Parameter Sets: (All)
Aliases: MulticastDelayBeforeRetryingMinutes
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a retry count for multicast software distribution attempts.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies an account name for network access.
Type: String[]
Parameter Sets: SearchBySiteCodeMandatory
Aliases: NetworkAccessAccountNames
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ 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
Specifies a retry count.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a site code of a Configuration Manager site.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet doesn't run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.