Export (0) Print
Expand All
Expand Minimize

Get-CMDeployment

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Get-CMDeployment

Gets a summary of Configuration Manager deployments.

Syntax

Parameter Set: SearchByName
Get-CMDeployment [-CollectionName <String> ] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Get-CMDeployment -DeploymentId <String> [ <CommonParameters>]




Detailed Description

The Get-CMDeployment cmdlet gets summary information for one or more deployments in Microsoft System Center 2012 Configuration Manager. The cmdlet gets summary information about application, Software Update Management (SUM), or classic program deployments in System Center 2012 Configuration Manager.

Parameters

-CollectionName<String>

Specifies an array of names of Configuration Manager collections to which the deployment is applied.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DeploymentId<String>

Specifies the ID of a deployment.


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 deployments by using an ID

This command gets the deployment that has the ID Cm120006.


PS C:\> Get-CMDeployment -DeploymentId "Cm120006"

Example 2: Get deployments by using a name

This command gets the deployment named CMCollect01.


PS C:\> Get-CMDeployment -CollectionName "CMCollect01"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft