Set-ASAppVShortcutProperty

AdminStudio 2020 | 19.0 | AdminStudio PowerShell Cmdlets

Edition:Powershell cmdlets are enabled with AdminStudio Enterprise Edition.

You can use the Set-ASAppVShortcutProperty cmdlet to define a shortcut component to be created on the target machine after successful installation.

Examples

The following is an example of the Set-ASAppVShortcutProperty cmdlet:

Set-ASAppVShortcutProperty -PackageId 1 Name 'Skype' -Target 'Skype™5..561\Phone\Skype.exe' -Publish 1

 

Set-ASAppVShortcutProperty Parameters

Parameter

Description

PackageId

Specifies the package ID for the package.

Note:It supports the package types .appv and .sft

Name

Use to specify the name of the shortcut. (package value)

Target

Use to specify the associated executable file of the shortcut. (package value)

Publish

Use to select or unselect the shortcut components which are to be deployed from the ConfigMgr.

Return Values

A success or failure message is returned.

See Also