Get-CMDeploymentType

Gets the deployment type of an application.

Syntax

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

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
Required:True
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
Required:True
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
Required:True
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
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Indicates that wildcard handling is disabled.

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

Indicates that wildcard handling is enabled.

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