Get-CMSoftwareDistributionComponent
Updated: March 1, 2013
Applies To: System Center 2012 Configuration Manager SP1
Get-CMSoftwareDistributionComponent
Syntax
Parameter Set: SearchBySiteCodeMandatory Get-CMSoftwareDistributionComponent -SiteCode <String> [ <CommonParameters>] Parameter Set: SearchByNameMandatory Get-CMSoftwareDistributionComponent -Name <String> [ <CommonParameters>]
Detailed Description
The Get-CMSoftwareDistributionComponent cmdlet gets an object that represents a software distribution component in Microsoft System Center 2012 Configuration Manager. A software distribution component consists of individual components, such as the client software distribution component.
Parameters
-Name<String>
Specifies a name of a software distribution component in Configuration Manager.
Aliases | none |
Required? | true |
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 |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
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”
