ConvertTo-CtxAppVLauncherArg
Returns a string containing information to send to the App-V Launcher. You can plug this string directly into the Virtual Delivery Agent (VDA) to launch App-V applications.
Syntax
ConvertTo-CtxAppVLauncherArg
[-AppVPublishingServer] <String>
[-PackageId] <String>
[-AppId] <String>
-SeqLoc <String>
[-CmdLineArg <String>]
-TargetInPackage <Boolean>
-ApplicationName <String>
[<CommonParameters>]
ConvertTo-CtxAppVLauncherArg
[-LauncherPath]
[<CommonParameters>]
Description
Returns a string containing information to send to the App-V Launcher. You can plug this string directly into the Virtual Delivery Agent (VDA) to launch App-V applications.
Examples
EXAMPLE 1
Converts the arguments provided into a cmdlet to launch Beyond Compare from the appv-pubsrv Publishing Server on the VDA.
ConvertTo-CtxAppVLauncherArg -AppVPublishingServer "http://appv-pubsrv.mydomain.com:8082" -PackageId "1bcb6993-10b1-4659-b9d4-e809e10cecdf_5" -AppId "[{ProgramFilesX86}]\Beyond Compare 3\BCompare.exe" -SeqLoc "\\10.105.32.199\share\App-V\Firefox.appv" -TargetInPackage $true
EXAMPLE 2
Gets the Citrix App-V Launcher path.
ConvertTo-CtxAppVLauncherArg -LauncherPath
Parameters
-AppVPublishingServer
The Url including the port number, of the publishing Server which is serving the application.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | False |
| Accept wildcard characters: | True |
-AppId
The AppId of the specific application for which CtxAppVLauncher argugents is required.
| Type: | String |
| Position: | 3 |
| 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: | 2 |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-SeqLoc
The sequence location of the package.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-TargetInPackage
Pass this as \$true if TargetInPackage field is "true" in the Manifest file for the particular App Id.
| Type: | Boolean |
| Position: | Named |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-LauncherPath
Gets the Citrix Launcher path. The Citrix Launcher is a component installed on the VDA.
| Type: | SwitchParameter |
| Position: | 1 |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | False |
| Accept wildcard characters: | True |
-ApplicationName
| Type: | String |
| Position: | Named |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-CmdLineArg
| Type: | String |
| Position: | Named |
| Default value: | None |
| Required: | False |
| 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
None
By default, this cmdlet returns no output.