Set-CMSoftwareDistributionComponent

SYNOPSIS

Sets properties of a software distribution component in Configuration Manager.

SYNTAX

SearchBySiteCodeMandatory (Default)

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

SearchBySiteCodeMandatory_ClientComputerAccount

Set-CMSoftwareDistributionComponent [-SiteCode <String>] [-MaximumPackageCount <Int32>]
 [-MaximumThreadCountPerPackage <Int32>] [-RetryCount <Int32>] [-DelayBeforeRetryingMins <Int32>]
 [-MulticastRetryCount <Int32>] [-MulticastDelayBeforeRetryingMins <Int32>] [-ClientComputerAccount]
 [-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.

PARAMETERS

-ClientComputerAccount

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

-Confirm

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

-DelayBeforeRetryingMins

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

Required: False
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
Parameter Sets: (All)
Aliases: 

Required: False
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
Parameter Sets: (All)
Aliases: 

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

-MaximumPackageCount

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

-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

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

-NetworkAccessAccountName

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

-RetryCount

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

-SiteCode

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

-WhatIf

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

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

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

Get-CMSoftwareDistributionComponent