Publish-AzureRemoteAppProgram

Publishes an Azure RemoteApp program.

Note

The cmdlets referenced in this documentation are for managing legacy Azure resources that use Azure Service Manager (ASM) APIs. This legacy PowerShell module isn't recommended when creating new resources since ASM is scheduled for retirement. For more information, see Azure Service Manager retirement.

The Az PowerShell module is the recommended PowerShell module for managing Azure Resource Manager (ARM) resources with PowerShell.

Syntax

Publish-AzureRemoteAppProgram
       [-CollectionName] <String>
       [-StartMenuAppId] <String>
       [-CommandLine <String>]
       [-DisplayName <String>]
       [-Profile <AzureSMProfile>]
       [<CommonParameters>]
Publish-AzureRemoteAppProgram
       [-CollectionName] <String>
       [-FileVirtualPath] <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 "00001111-aaaa-2222-bbbb-3333cccc4444" -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".

Parameters

-CollectionName

Specifies the name of the Azure RemoteApp collection.

Type:String
Aliases:Name
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-CommandLine

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

Type:String
Position:Named
Default value:None
Required:False
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
Required:False
Accept pipeline input:False
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
Required:True
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
Required:False
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
Required:True
Accept pipeline input:True
Accept wildcard characters:False