Invoke-ASWrapPackage

AdminStudio 2021 | 21.0 | AdminStudio PowerShell Cmdlets

Edition:Powershell cmdlets are enabled with AdminStudio Enterprise Edition and with Workflow Manager.

Use the Invoke-ASWrapPackage to convert a Windows Installer (.msi) or installation package (.exe) to a wrapped package file (.ps1/.exe).

Example

Invoke-ASWrapPackage -PackageId 25 -OutputLocation "C:\Users\ssahoo\Desktop" -WrapType Exe

Parameters

The Invoke-ASWrapPackage has the following parameters:

Invoke-ASWrapPackage Parameters

Parameter

Description

PackageID

(Required) Enter the package ID to identify the package you want to wrap.

OutputLocation

(Optional) If you want to change the default packaging location, specified on the Wrap Options tab of the Application Catalog Options dialog box, use this parameter.

WrapType

Either add .ps1 or .exe

Return Values

A success or failure message is returned.