Test-ASPackage

AdminStudio 2021 | 21.0 | AdminStudio PowerShell Cmdlets

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

The Test-ASPackage cmdlet performs testing on a specified package. Using this cmdlet is equivalent to selecting the package in the Application Catalog tree of the Analyze tab and clicking the Execute Tests button. When using the AdminStudio PowerShell Cmdlets to perform testing, the tests appropriate to the package that are selected in AdminStudio Application Catalog on the Select Tests to Execute dialog box are executed.

Examples

Test-ASPackage-PackageId nnn-DetailedResults

Parameters

The Test-ASPackage cmdlet has the following parameters:

Test-ASPackage Parameters

Parameter

Description

PackageId nnn

Use to identify the package which needs to be tested.

[DetailedResults]

Add this parameter to return individual result data for the tests that were run.

If this parameter is not included, then the cmdlet returns a summary of the test execution and just includes the number of errors and warnings encountered in the test run.

Return Values

A list of test results is returned.