Invoke-ASImportAppFromDeploymentSystem

AdminStudio 2021 | 21.0 | AdminStudio PowerShell Cmdlets

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

Use the Invoke-ASImportAppFromDeploymentSystem cmdlet to import an application from a deployment system, such as System Center 2012 Configuration Manager, into the Application Catalog using the application ID returned from the Get-ASDeploymentSystemPackageTree cmdlet.

Example

The following is an example of the Invoke-ASImportAppFromDeploymentSystem cmdlet and its parameters:

Invoke-ASImportAppFromDeploymentSystem-ConnectionName <Name>-SystemDeploymentID <ID>
-TargetASGroupPath "<Path excluding the root folder ('Applications')>"

The following is an example of the Invoke-ASImportAppFromDeploymentSystem cmdlet using sample values:

Invoke-ASImportAppFromDeploymentSystem-ConnectionName SCCM2012-SystemDeploymentID 16778779 -TargetASGroupPath "Test\SubTest"

Parameters

The Invoke-ASImportAppFromDeploymentSystem cmdlet has the following parameters:

Invoke-ASImportAppFromDeploymentSystem Parameters

Parameter

Description

ConnectionName

Use to specify named connection to a deployment system. See Creating Multiple Named Connections to Distribution Systems for more information.

SystemDeploymentID

The ID of the application you are importing from your deployment system such as:

-SystemDeploymentID 16778779

You obtain this ID by first running the Get-ASDeploymentSystemPackageTree cmdlet.

TargetASGroupPath

Use to specify the destination group in the Application Catalog tree for the imported application.

Note:When specifying this path. exclude the root folder (Applications).

Return Values

A success or failure message is returned.