| external help file | |
|---|---|
| Module Name | Az.DesktopVirtualization |
| online version | https://learn.microsoft.com/powershell/module/az.desktopvirtualization/new-azwvdapplication |
| schema | 2.0.0 |
Create an application.
New-AzWvdApplication -CommandLineSetting <String> -GroupName <String> -Name <String>
-ResourceGroupName <String> [-Description <String>] [-FriendlyName <String>] [-ShowInPortal]
[-SubscriptionId <String>] [-ApplicationType <String>] [-CommandLineArgument <String>] [-FilePath <String>]
[-IconIndex <Int32>] [-IconPath <String>] [-MsixPackageApplicationId <String>]
[-MsixPackageFamilyName <String>] [-ShortcutExtensionPutShortcutOnDesktop] [-DefaultProfile <PSObject>]
[-Confirm] [-WhatIf] [<CommonParameters>]
New-AzWvdApplication -AppAlias <String> -CommandLineSetting <String> -GroupName <String> -Name <String>
-ResourceGroupName <String> [-Description <String>] [-FriendlyName <String>] [-ShowInPortal]
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
New-AzWvdApplication -GroupName <String> -Name <String> -ResourceGroupName <String> -JsonFilePath <String>
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
New-AzWvdApplication -GroupName <String> -Name <String> -ResourceGroupName <String> -JsonString <String>
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
Create an application.
New-AzWvdApplication -ResourceGroupName ResourceGroupName `
-GroupName ApplicationGroupName `
-Name ApplicationName `
-FilePath 'C:\windows\system32\mspaint.exe' `
-FriendlyName 'Friendly name' `
-Description 'Description' `
-IconIndex 0 `
-IconPath 'C:\windows\system32\mspaint.exe' `
-CommandLineSetting 'Allow' `
-ShowInPortal:$trueName Type
---- ----
ApplicationGroupName/ApplicationName Microsoft.DesktopVirtualization/applicationgroups/applications
This command creates a Azure Virtual Desktop Application in an application Group.
App Alias from start menu item
Type: System.String
Parameter Sets: AppAlias
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseResource Type of Application.
Type: System.String
Parameter Sets: CreateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseCommand Line Arguments for Application.
Type: System.String
Parameter Sets: CreateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.
Type: System.String
Parameter Sets: AppAlias, CreateExpanded
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: System.Management.Automation.PSObject
Parameter Sets: (All)
Aliases: AzureRMContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseDescription of Application.
Type: System.String
Parameter Sets: AppAlias, CreateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies a path for the executable file for the application.
Type: System.String
Parameter Sets: CreateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseFriendly name of Application.
Type: System.String
Parameter Sets: AppAlias, CreateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe name of the application group
Type: System.String
Parameter Sets: (All)
Aliases: ApplicationGroupName
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseIndex of the icon.
Type: System.Int32
Parameter Sets: CreateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePath to icon.
Type: System.String
Parameter Sets: CreateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePath of Json file supplied to the Create operation
Type: System.String
Parameter Sets: CreateViaJsonFilePath
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseJson string supplied to the Create operation
Type: System.String
Parameter Sets: CreateViaJsonString
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the package application Id for MSIX applications
Type: System.String
Parameter Sets: CreateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the package family name for MSIX applications
Type: System.String
Parameter Sets: CreateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe name of the application within the specified application group
Type: System.String
Parameter Sets: (All)
Aliases: ApplicationName
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe name of the resource group. The name is case insensitive.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseIndicates whether to create a desktop shortcut for the remote application.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: CreateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies whether to show the RemoteApp program in the RD Web Access server.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: AppAlias, CreateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe ID of the target subscription. The value must be an UUID.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: (Get-AzContext).Subscription.Id
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.