Set-CMSoftwareDistributionComponent
Sets properties of a software distribution component in Configuration Manager.
Syntax
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>]
Description
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.
Examples
Example 1: Set properties of a software distribution component
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.
Parameters
-AddNetworkAccessAccountName
{{ Fill AddNetworkAccessAccountName Description }}
Type: | String[] |
Aliases: | AddNetworkAccessAccountNames |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CleanNetworkAccessAccountName
{{ Fill CleanNetworkAccessAccountName Description }}
Type: | SwitchParameter |
Aliases: | CleanNetworkAccessAccountNames |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ClientComputerAccount
Indicates that the cmdlet uses a client computer account.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DelayBeforeRetryingMins
Type: | Int32 |
Aliases: | DelayBeforeRetryingMinutes |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DisableWildcardHandling
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ForceWildcardHandling
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MaximumPackageCount
Specifies a maximum number of packages.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MaximumThreadCountPerPackage
Type: | Int32 |
Aliases: | MaximumThreadsPerPackage |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MulticastDelayBeforeRetryingMins
Type: | Int32 |
Aliases: | MulticastDelayBeforeRetryingMinutes |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MulticastRetryCount
Specifies a retry count for multicast software distribution attempts.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NetworkAccessAccountName
Specifies an account name for network access.
Type: | String[] |
Aliases: | NetworkAccessAccountNames |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RemoveNetworkAccessAccountName
{{ Fill RemoveNetworkAccessAccountName Description }}
Type: | String[] |
Aliases: | RemoveNetworkAccessAccountNames |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RetryCount
Specifies a retry count.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SiteCode
Specifies a site code of a Configuration Manager site.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet doesn't run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None