Invoke-ASSignPackage

AdminStudio 2020 | 19.0 | AdminStudio PowerShell Cmdlets

Edition: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:

Invoke-ASSignPackage Parameters

Parameter

Description

PackageID

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

CertificateInfoType

Follow the -CertificateInfoType parameter with one of the following to identify the Signing type of the MSIX package:

PfxFile
CertificateName

PfxFile

If the selected certificate info type is PfxFile, Enter the following:

File Path - pfx file path (Required)
Password - Valid Password (Required)

CertificateName

If 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

SpecificStore

If the selected store type is SpecificStore, Enter the following:

StoreName - Enter the store name

Return Values

A success or failure message is returned.