Invoke-ASMSIXAppAttach

AdminStudio 2025 | 29.0 | AdminStudio PowerShell Cmdlets

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

Use the Invoke-ASMSIXAppAttach cmdlet, to create MSIX App Attach.

Example

Invoke-ASMSIXAppAttach -PackageId 1 -RootDirectoryName Firefox -ImageSize 50 -TargetPath " output Path" -ImageType VHD

Parameters

The Invoke-ASMSIXAppAttach has the following parameters:

Invoke-ASMSIXAppAttach Parameters

Parameter

Description

PackageID

(Required) ID of the package.

RootDirectoryName

(Optional) Enables you to give a root directory name to which the package is being extracted under the Virtual Machines.

ImageType

(Optional) Select one of the following:

VHD
VHDX

ImageSize

(Optional) Determines the size of the image file to be created. The default value is calculated based on the size of the MSIX file and its four times the file size by default.

Note:Minimum size for the Image file should be 20MB.

TargetPath

(Optional) Browse and select a new folder in which the image file will be created.

Return Values

Task completed.