Get-ASConfigPlatform

AdminStudio 2021 R2 | 22.0 | AdminStudio PowerShell Cmdlets

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

Use the Get-ASConfigPlatform cmdlet to retrieve configuration information, such as to retrieve the database connection string to which the current PowerShell session is configured.

Example

Get-ASConfigPlatform -ConnectionString

For example, if the Get-ASConfigPlatform cmdlet is used with the -ConnectionString parameter, the database connection string to which the current PowerShell session was configured using Set-ASConfigPlatform cmdlet will be returned, such as:

PROVIDER=SQLOLEDB.1;Data Source=ADMIN-PC;Initial catalog=TesCatalog;Integrated Security=SSPI

Parameters

The Get-ASConfigPlatform cmdlet has the following parameters:

Get-ASConfigPlatform Parameters

Parameter

Description

[ConnectionString]

Use to specify the connection string for Application Catalog.

[Group]

Use to specify the group to import packages into. The group should already exist in the Application Catalog.

[AACSettingsFile]

Specify the Automated Application Converter project file (.aacx) to use for all conversion tasks. This setting can be overridden by individual conversion cmdlets.

[OutputPath]

Specify the default output folder under which all virtualized packages will be stored. This setting can be overridden by individual conversion cmdlets.

[HardTimeout]

Hard time-out (in minutes) for the package installation.

[SoftTimeout]

Soft time-out (in minutes) for the package installation.

[BuildAppV]

Build Microsoft App-V packages (*.sft). Specify 0 (do not build) or 1 (build).

[BuildXenApp]

Build Citrix XenApp profiles (*.profile). Specify 0 (do not build) or 1 (build).

[BuildThinApp]

Build VMWare ThinApp packages (*.exe). Specify 0 (do not build) or 1 (build).

[BuildMSI]

Build Windows Installer packages (*.msi). Specify 0 (do not build) or 1 (build).

[AppVServerHost]

Host name portion of the server location for App-V packages.

[AppVServerPort]

Port number portion of the server location for App-V packages.

[AppVServerProtocol]

Protocol portion of the server location for App-V packages.

Return Values

The connection string to which the current PowerShell session is configured is returned.