Get-ASPackage

AdminStudio 2020 | 19.0 | AdminStudio PowerShell Cmdlets

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

Use the Get-ASPackage cmdlet to return a package object, given the PackageId. The default connection string set in the platform settings file is used to query the Application Catalog. If a package with the specified ID is found, it is returned.

Examples

$oPackage = Get-ASPackage-PackageId 10

'Package Path is: " + $oPackage.FileName

Parameters

The Get-ASPackage cmdlet has the following parameters:

Get-ASPackage Parameters

Parameter

Description

PackageId

ID of the package that will be returned.

Return Values

If a package with the specified ID is found, its package object is returned.