Set-CMSoftwareDistributionComponent

Set-CMSoftwareDistributionComponent

Sets properties of a software distribution component in Configuration Manager.

Syntax

Parameter Set: SearchBySiteCodeMandatory
Set-CMSoftwareDistributionComponent -SiteCode <String> [-DelayBeforeRetryingMinutes <Int32> ] [-MaximumPackageCount <Int32> ] [-MaximumThreadsPerPackage <Int32> ] [-MulticastDelayBeforeRetryingMinutes <Int32> ] [-MulticastRetryCount <Int32> ] [-NetworkAccessAccountName <String> ] [-RetryCount <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchBySiteCodeMandatory_ClientComputerAccount
Set-CMSoftwareDistributionComponent -SiteCode <String> [-ClientComputerAccount] [-DelayBeforeRetryingMinutes <Int32> ] [-MaximumPackageCount <Int32> ] [-MaximumThreadsPerPackage <Int32> ] [-MulticastDelayBeforeRetryingMinutes <Int32> ] [-MulticastRetryCount <Int32> ] [-RetryCount <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

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

Parameters

-ClientComputerAccount

Indicates that the cmdlet uses a client computer account.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DelayBeforeRetryingMinutes<Int32>

Specifies a delay, in minutes, between software distribution attempts.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MaximumPackageCount<Int32>

Specifies a maximum number of packages.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MaximumThreadsPerPackage<Int32>

Specifies a maximum number of threads per package.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MulticastDelayBeforeRetryingMinutes<Int32>

Specifies a delay, in minutes, between multicast software distribution attempts.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MulticastRetryCount<Int32>

Specifies a retry count for multicast software distribution attempts.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-NetworkAccessAccountName<String>

Specifies an account name for network access.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-RetryCount<Int32>

Specifies a retry count.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteCode<String>

Specifies a site code of a Configuration Manager site.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

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 is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

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

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Set properties of a software distribution component

The following command sets all properties for 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"

Get-CMSoftwareDistributionComponent