Publish-​Azure​Remote​App​Program

Publishes an Azure RemoteApp program.

Syntax

Publish-AzureRemoteAppProgram
       [-CollectionName] <String>
       [-FileVirtualPath] <String>
       [-CommandLine <String>]
       [-DisplayName <String>]
       [-Profile <AzureSMProfile>]
       [<CommonParameters>]
Publish-AzureRemoteAppProgram
       [-CollectionName] <String>
       [-StartMenuAppId] <String>
       [-CommandLine <String>]
       [-DisplayName <String>]
       [-Profile <AzureSMProfile>]
       [<CommonParameters>]

Description

The Publish-AzureRemoteAppProgram cmdlet publishes an Azure RemoteApp program, which makes it available to users of the Azure RemoteApp collection.

Examples

Example 1: Publish a program in a collection

PS C:\> Publish-AzureRemoteAppProgram -CollectionName "ContosoApps" -StartMenuAppId "a3732322-89a5-4cbc-9844-9634c74d337f" -DisplayName "Finance App"

This command publishes the program in the ContosoApps collection with the specified StartMenuAppId to add the program to the Start Menu. The published app will have a display name of "Finance App".

Required Parameters

-CollectionName

Specifies the name of the Azure RemoteApp collection.

Type:String
Aliases:Name
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-FileVirtualPath

Specifies the path of the program within the template image of the program.

Type:String
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StartMenuAppId

Specifies a GUID that this cmdlet uses to add the program to the Start Menu.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-CommandLine

Specifies command-line arguments for the program that this cmdlet publishes.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisplayName

Specifies the user-friendly display name of the Azure RemoteApp program. Users see this as the name of the application.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type:AzureSMProfile
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False