Invoke-ASConvertFolder
Edition:Powershell cmdlets are enabled with AdminStudio Enterprise Edition and with Workflow Manager.
Use the Invoke-ASConvertFolder cmdlet to convert a folder of packages to specified virtual formats using Automatic Application Converter. The conversion settings specified in the platform settings file are applied across all packages found in the specified folder.
Tip:If you need to apply settings on per package basis, it is recommended that you use the Add‑ASPackageForConversion cmdlet.
Examples
Invoke-ASConvertFolder -FolderPath C:\Packages-BuildAppV-OutputPath C:\VirtualizedPackages
Parameters
The Invoke-ASConvertFolder cmdlet has the following parameters:
Parameter |
Description |
FolderPath |
Use to specify the path to the folder where the packages to be converted are stored. |
[AACSettings] |
Use to specify the Automated Application Converter project file to use during conversion. If it is not supplied, a copy of the project file specified in the platform settings file will be used. |
[OutputPath] |
Use to specify the output folder under which all output will be collected. |
[BuildAppV] |
Specify this parameter to build App-V packages. |
[BuildXenApp] |
Specify this parameter to build Citrix XenApp profiles. |
[BuildThinApp] |
Specify this parameter to build VMware ThinApp packages. |
[BuildMSI] |
Specify this parameter to build Windows Installer packages. |
[HardTimeOut] |
Hard time-out (in minutes) for the package installation. |
[SoftTimeout] |
Soft time-out (in minutes) for the package installation. |
[UseSingleStepSnapshot] |
Use to specify that you want to use the Snapshot installation technology to repackage the package. |
[ApplyTransforms] |
If this parameter is used, transforms found in same folder as the package will be used during the conversion process. |
[VMPlatform] |
Specify platform to use for automated repackaging, such as 600Sx64, 501, or 502S. |
Return Values
A success or failure message is returned.