Get-CMDeploymentType

Get-CMDeploymentType

Gets the deployment type of an application.

Syntax

Parameter Set: SearchByName
Get-CMDeploymentType -ApplicationName <String> [-DeploymentTypeName <String> ] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Get-CMDeploymentType -ApplicationName <String> -DeploymentTypeId <String> [ <CommonParameters>]

Detailed Description

The Get-CMDeploymentType cmdlet gets the deployment type of an application. A deployment type is contained within an application and contains the information that Microsoft System Center 2012 SP1 Configuration Manager requires to install software. A deployment type also contains rules that specify if and how the software is deployed.

Parameters

-ApplicationName<String>

Specifies the name of an application that is associated with the deployment type.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DeploymentTypeId<String>

Specifies the ID of a deployment type.

Aliases

CIId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DeploymentTypeName<String>

Specifies the name of a deployment type.

Aliases

LocalizedDisplayName

Required?

false

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 the deployment type of an application

This command gets the deployment type for the application named CenterApp.

PS C:\> Get-CMDeploymentType -ApplicationName "CenterApp"

Example 2: Get the deployment type of an application by name

This command gets the deployment type for the application named CenterApp that has a deployment type named InterDept - Windows app package (.appx file).

PS C:\> Get-CMDeploymentType -ApplicationName "CenterApp" -DeploymentTypeName "InterDept - Windows app package (.appx file)"

Example 3: Get the deployment type of an application by ID

This command gets the deployment type for the application named CenterApp that has a deployment type that has the ID 16777457.

PS C:\> Get-CMDeploymentType -ApplicationName "CenterApp" -DeploymentTypeID "16777457"

Add-CMDeploymentType

Get-CMDeployment

Get-CMDeploymentPackage

Get-CMDeploymentStatus

Remove-CMDeploymentType

Set-CMDeploymentType