Convert-CMDeploymentType

Converts the deployment type of a Configuration Manager deployment application.

Syntax

Convert-CMDeploymentType
       -InputObject <PSObject>
       [-DisableWildcardHandling]
       [-ForceWildcardHandling]

Description

The Convert-CMDeploymentType cmdlet converts 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.

This cmdlet allows for getting a native DeploymentType object from an SMS_DeploymentType WMI object instance. Can be combined with Get-CMDeploymentType.

Examples

Example 1

PS C:\> $cmdp = Get-CMDeploymentType -ApplicationName "CenterApp"
PS C:\> Convert-CMDeploymentType $cmdp

This command gets the deployment type for the application named CenterApp, and then convert the deployment type.

Parameters

-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
-InputObject

Specifies an SMS DeploymentType object. To obtain an SMS DeploymentType object, use the Get-CMDeploymentType cmdlet.

Type:PSObject
Aliases:IResultObject, DeploymentType, ProviderDeploymentTypeObject
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Inputs

System.Management.Automation.PSObject

Outputs

System.Object