Set-CMSoftwareDistributionComponent

Sets properties of a software distribution component in Configuration Manager.

Syntax

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

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

Indicates that wildcard handling is disabled.

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

Indicates that wildcard handling is enabled.

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

Specifies a maximum number of packages.

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

Specifies a retry count.

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