Get-​CM​Deployment​Type

Gets the deployment type of an application.

Syntax

Get-CMDeploymentType
   -ApplicationName <String>
   [-DeploymentTypeName <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMDeploymentType
   -ApplicationName <String>
   -DeploymentTypeId <Int32>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMDeploymentType
   [-DeploymentTypeName <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   -InputObject <IResultObject>
   [<CommonParameters>]

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 Configuration Manager requires to install software. A deployment type also contains rules that specify if and how the software is deployed.

Examples

Example 1: Get the deployment type of an application

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

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

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

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

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

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

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

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

Required Parameters

-ApplicationName

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

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DeploymentTypeId

Specifies the ID of a deployment type.

Type:Int32
Aliases:CIId, CI_ID
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Specifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this cmdlet.

Type:IResultObject
Aliases:Application
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-DeploymentTypeName

Specifies the name of a deployment type.

Type:String
Aliases:LocalizedDisplayName
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False