Get-CMSoftwareDistributionComponent

Get-CMSoftwareDistributionComponent

Gets an object that represents a software distribution component in Configuration Manager.

Syntax

Parameter Set: SearchBySiteCodeMandatory
Get-CMSoftwareDistributionComponent -SiteCode <String> [ <CommonParameters>]

Parameter Set: SearchByNameMandatory
Get-CMSoftwareDistributionComponent -SiteSystemServerName <String[]> [ <CommonParameters>]

Detailed Description

The Get-CMSoftwareDistributionComponent cmdlet gets an object that represents a software distribution component in Microsoft System Center 2012 SP1 Configuration Manager. A software distribution component consists of individual components such as the client software distribution component.

Parameters

-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

-SiteSystemServerName<String[]>

Specifies an array of site system server names.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

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: Get a software distribution component

This command gets the software distribution component.

PS C:\> Get-CMSoftwareDistributionComponent -Name "CM2"

Set-CMSoftwareDistributionComponent