Skip to main content

Set-ASAppVShortcutProperty

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

ParameterDescription
PackageIdSpecifies the package ID for the package. It supports the package types .appv and .sft
NameUse to specify the name of the shortcut. (package value)
TargetUse to specify the associated executable file of the shortcut. (package value)
PublishUse to select or unselect the shortcut components which are to be deployed from the ConfigMgr.

Return Values

A success or failure message is returned.

Get-ASAppVShortcuts