Citrix Virtual Apps and Desktops SDK

Get-CtxAppVApplicationInfo

Enumerates information for a given application in a given package for a given Management Server.

Syntax

Get-CtxAppVApplicationInfo
   -AppVManagementServer <String>
   [[-Property] <String[]>]
   [-AppId] <String>
   [-PackageId] <String>
   [<CommonParameters>]
<!--NeedCopy-->
Get-CtxAppVApplicationInfo
   -AppVManagementServer <String>
   [[-Property] <String[]>]
   [-InputObject] <AppVServerApplication[]>
   [<CommonParameters>]
<!--NeedCopy-->

Description

Queries a given Management Server and fetches the requested information for a given application.

Examples

EXAMPLE 1

Fetches all application information for the ‘Beyond Compare 3’ application from the appv-mansrv Management Server.

Get-CtxAppVApplicationInfo -AppVManagementServer "appv-mansrv" -AppId "[{ProgramFilesX86}]\Beyond Compare 3\BCompare.exe"  -PackageId "1bcb6993-10b1-4659-b9d4-e809e10cecdf_5"
<!--NeedCopy-->

EXAMPLE 2

Fetches only information about FTA and user entitlements for the Beyond Compare 3 application from the appv-mansrv Management Server.

Get-CtxAppVApplicationInfo -AppVManagementServer "appv-mansrv" -AppId "[{ProgramFilesX86}]\Beyond Compare 3\BCompare.exe"  -PackageId "1bcb6993-10b1-4659-b9d4-e809e10cecdf_5" -Property @('FTA','USERS')
<!--NeedCopy-->

EXAMPLE 3

Pipelines the output of Get-CtxAppVApplication to Get-CtxAppvApplicationInfo to get the application properties of all the published applications on the appv-mansrv Management Server.

Get-CtxAppVApplication -AppVManagementServer "appv-mansrv" | Get-CtxAppVApplicationInfo -AppVManagementServer "appv-mansrv"
<!--NeedCopy-->

Parameters

-AppId

The AppId of the specific application for which information is required.

Type: String
Position: 2
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False

-PackageId

The PackageId of the package to which the application belongs.

Type: String
Position: 3
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

AppVServerApplication objects for which information is required.

Type: AppVServerApplication[]
Position: 4
Default value: None
Required: True
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Property

An array of the names of the property values to be pupulated in the returned data.

Type: String[]
Position: 4
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-AppVManagementServer

Type: String
Position: Named
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

You can’t pipe objects to this cmdlet.

Outputs

Citrix.VirtApp.Studio.PowerShellManager.AppVAppData

Get-CtxAppVApplicationInfo