Convert-CMDeploymentType

SYNOPSIS

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
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 an SMS DeploymentType object. To obtain an SMS DeploymentType object, use the Get-CMDeploymentType cmdlet.

Type: PSObject
Parameter Sets: (All)
Aliases: IResultObject, DeploymentType, ProviderDeploymentTypeObject

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

INPUTS

System.Management.Automation.PSObject

OUTPUTS

System.Object

Add-CMDeploymentType

Get-CMDeploymentType

Remove-CMDeploymentType

Set-CMDeploymentType