Skip to main content

Invoke-ASSignPackage

AdminStudio 2025 | 29.0 | AdminStudio PowerShell Cmdlets

Powershell cmdlets are enabled with AdminStudio Enterprise Edition.

Use the Invoke-ASSignPackage cmdlets to sign the MSIX package.

Example

The following is an example of the Invoke-ASSignPackage cmdlet:

Invoke-ASSignPackage -PackageId 1 -CertificateInfoType PfxFile -FilePath "E:\Packages\MSIX\Orca\FlexeraDigCert.pfx" -Password "121"

Parameters

The Invoke-ASSignPackage has the following parameters:

ParameterDescription
PackageID(Required) Enter the package ID to identify the package you want to Sign.
CertificateInfoTypeFollow the -CertificateInfoType parameter with one of the following to identify the Signing type of the MSIX package: PfxFile CertificateName
PfxFileIf the selected certificate info type is PfxFile, Enter the following: File Path - pfx file path (Required) Password - Valid Password (Required)
CertificateNameIf the selected certificate info type is Certificate Name, Enter the following: Subject - Subject of the certificate (Required) Select one of the following StoreType: User System SpecificStore
SpecificStoreIf the selected store type is SpecificStore, Enter the following: StoreName - Enter the store name

Return Values

  • A success or failure message is returned.