Invoke-CMConvertPackage

Convert a package to an application.

Syntax

Invoke-CMConvertPackage
      [-AutoAnalyze]
      [-Force]
      [-Name <String[]>]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMConvertPackage
      [-AutoAnalyze]
      [-Force]
      -Id <String[]>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMConvertPackage
      [-AutoAnalyze]
      [-Force]
      -InputObject <IResultObject[]>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Use this cmdlet to convert a package to an application. This cmdlet invokes the package conversion manager tools that are integrated with Configuration Manager. For more information, see Package Conversion Manager.

Note

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

Examples

Example 1

Invoke-CMConvertPackage -Name $packageName

Parameters

-AutoAnalyze

{{ Fill AutoAnalyze Description }}

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

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

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

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

Run the command without asking for confirmation.

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

Specify a package ID to convert. For example, XYZ006C5.

Type:String[]
Aliases:IDs, PackageID, PackageIDs
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Applies to version 2010 and later. Specify a package object to convert. To get this object, use the Get-CMPackage cmdlet.

This parameter replaces the previous Package parameter.

Type:IResultObject[]
Aliases:Packages, Package
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-Name

Specify a package name to convert.

Type:String[]
Aliases:Names, PackageName, PackageNames
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet isn't run.

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

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject[]

Outputs

System.Object

Notes

Starting in version 2010, the Package parameter was removed from this cmdlet. Pipe the package object, or use the InputObject parameter.