Invoke-ASConvertPackage
Edition:Powershell cmdlets are enabled with AdminStudio Enterprise Edition and with Workflow Manager.
Note:In future releases, the Invoke-ASConvertPackage cmdlet will be obsolete.
AdminStudio has a generic platform API, ASConvertPackage, to support conversions. It accepts XML as input parameter.
Example
Invoke-ASConvertPackage -XmlPath "C:\Users\Administrator\Desktop\Test\Conversion.xml"
Sample XML Templates
The following sample XML templates are provided:
• | Intune Conversion |
• | Automated Application Converter Conversions |
<?xml version="1.0" encoding="utf-8" ?>
<ConversionInfoData>
<PluginId>3C2F8362-A53C-44A2-B524-748F91FB6864</PluginId>
<TargetType>IntuneWin</TargetType>>
<PackageId>1</PackageId>
<PackageSourceFolder>D:\Packages\App-Vs\App-VPackage\Firefox_Upgrade</PackageSourceFolder>
<PackageOutputFolder>D:\Packages\App-Vs\App-VPackage\Firefox_Upgrade\Output</PackageOutputFolder>
</ConversionInfoData>
Automated Application Converter Conversions
<?xml version="1.0" encoding="utf-8" ?>
<ConversionInfoData>
<PluginId>63807502-5E5B-4B10-8CB4-AB318FA324A0</PluginId>
<TargetType>Msix</TargetType>>
<PackageId>1</PackageId>
<AACSettingsFilePath>D:\AAC\MSIXOption.aacx</AACSettingsFilePath>
<CommandLine></CommandLine>
</ConversionInfoData>
In this XML file, you need to change the TargetType node to one of the following conversion formats:
Msi
Msix
ThinApp
Profile
Appv4
Appv5