Set-ASCatalog

AdminStudio 2023 | 25.0 | AdminStudio PowerShell Cmdlets

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

You can use the Set-ASCatalog cmdlet to upgrade an existing Application Catalog from one version to another.

Before using the Set-ASCatalog cmdlet to upgrade an existing Application Catalog, you first need to identify and connect to that Application Catalog using the Set-ASConfigPlatform cmdlet with the ConnectionString parameter.

Examples

The following is the syntax used to upgrade an existing Application Catalog:

    Set-ASCatalog

When the Set-ASCatalog cmdlet is executed, AdminStudio detects the version of the connected Application Catalog and upgrades it to the latest version listed in the upgrade.xml file.

Parameters

The Set-ASCatalog cmdlet includes the following parameters:

Set-ASCatalog Parameters

Parameter

Description

[ScriptPath]

When AdminStudio executes the Set-ASCatalog cmdlet, it uses the upgrade.xml file, which contains a list of the SQL scripts that need to be run to upgrade an Application Catalog. By default, the upgrade.xml file is installed in the Support subdirectory of the AdminStudio installation directory. If you want to upgrade an Application Catalog using an upgrade.xml file in a different location, you need to use this parameter to provide the path to that file:

Set-ASCatalog -ScriptPath C:\MyScripts

Return Values

A success or failure message is returned.