Skip to content

Latest commit

 

History

History
303 lines (238 loc) · 7.07 KB

Set-CMSoftwareDistributionComponent.md

File metadata and controls

303 lines (238 loc) · 7.07 KB
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

Set-CMSoftwareDistributionComponent

SYNOPSIS

Sets properties of a software distribution component in Configuration Manager.

SYNTAX

SearchBySiteCodeMandatory (Default)

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>]

SearchBySiteCodeMandatory_ClientComputerAccount

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[]
Parameter Sets: SearchBySiteCodeMandatory
Aliases: AddNetworkAccessAccountNames

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

-CleanNetworkAccessAccountName

{{ 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

-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

-DelayBeforeRetryingMins

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

Required: False
Position: Named
Default value: None
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
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
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
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

-RemoveNetworkAccessAccountName

{{ 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

-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

-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

-WhatIf

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

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.

INPUTS

None

OUTPUTS

NOTES

RELATED LINKS

Get-CMSoftwareDistributionComponent