Get-CMDeployment

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 SP1 Configuration Manager. The cmdlet gets summary information about application, Software Update Management (SUM), or classic program deployments in 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 (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 deployments by 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"

Get-CMDeploymentStatus

Get-CMDeploymentType

Remove-CMDeployment

Set-CMDeploymentType