Convert-CMDeploymentType

Converts the deployment type of a Configuration Manager deployment application.

Syntax

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

Description

The Convert-CMDeploymentType cmdlet converts the deployment type of a Configuration Manager application.

A deployment type is contained within an application and contains the information that 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.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1

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

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

Parameters

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

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

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

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

Inputs

System.Management.Automation.PSObject

Outputs

System.Object