Get-CMDeploymentType
SYNOPSIS
Gets the deployment type of a Configuration Manager deployment application.
SYNTAX
SearchByName (Default)
Get-CMDeploymentType [-DeploymentTypeName <String>] -ApplicationName <String> [-DisableWildcardHandling]
[-ForceWildcardHandling] [<CommonParameters>]
SearchByIdMandatory
Get-CMDeploymentType -DeploymentTypeId <Int32> -ApplicationName <String> [-DisableWildcardHandling]
[-ForceWildcardHandling] [<CommonParameters>]
SearchByDTValue
Get-CMDeploymentType [-DeploymentTypeName <String>] -InputObject <IResultObject> [-DisableWildcardHandling]
[-ForceWildcardHandling] [<CommonParameters>]
DESCRIPTION
The Get-CMDeploymentType cmdlet gets the deployment type of a Microsoft System Center Configuration Manager 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.
PARAMETERS
-ApplicationName
Specifies the name of an application that is associated with the deployment type.
Type: String
Parameter Sets: SearchByName, SearchByIdMandatory
Aliases:
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
Parameter Sets: SearchByIdMandatory
Aliases: CIId, CI_ID
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DeploymentTypeName
Specifies the name of a deployment type.
Type: String
Parameter Sets: SearchByName, SearchByDTValue
Aliases: LocalizedDisplayName
Required: False
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
Parameter Sets: (All)
Aliases:
Required: False
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
Parameter Sets: (All)
Aliases:
Required: False
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
Parameter Sets: SearchByDTValue
Aliases: Application
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
RELATED LINKS
Feedback
Loading feedback...