Set-CMSoftwareDistributionComponent

Sets properties of a software distribution component in Configuration Manager.

Syntax

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

Description

The Set-CMSoftwareDistributionComponent cmdlet sets properties of a software distribution component in Microsoft System Center Configuration Manager. You can configure the properties of an object to meet the demands that clients place on the System Center Configuration Manager site.

Examples

Example 1: Set properties of a software distribution component

PS C:\> 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.

Optional Parameters

-ClientComputerAccount

Indicates that the cmdlet uses a client computer account.

Type:SwitchParameter
Position:Named
Default value:None
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
Accept pipeline input:False
Accept wildcard characters:False
-DelayBeforeRetryingMins
Type:Int32
Aliases:DelayBeforeRetryingMinutes
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MaximumPackageCount

Specifies a maximum number of packages.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MaximumThreadCountPerPackage
Type:Int32
Aliases:MaximumThreadsPerPackage
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MulticastDelayBeforeRetryingMins
Type:Int32
Aliases:MulticastDelayBeforeRetryingMinutes
Position:Named
Default value:None
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
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
Accept pipeline input:False
Accept wildcard characters:False
-RetryCount

Specifies a retry count.

Type:Int32
Position:Named
Default value:None
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
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False