Skip to content

Commit b298999

Browse files
authored
Merge pull request #227705 from Heidilohr/work-browser-syntax
Updating code and removing confusing phrasing.
2 parents 01f2fb5 + 2afe512 commit b298999

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

articles/virtual-desktop/publish-apps.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Publish built-in apps in Azure Virtual Desktop - Azure
33
description: How to publish built-in apps in Azure Virtual Desktop.
44
author: Heidilohr
55
ms.topic: how-to
6-
ms.date: 04/30/2020
6+
ms.date: 02/17/2022
77
ms.author: helohr
88
ms.custom: devx-track-azurepowershell
99
manager: femila
@@ -24,7 +24,18 @@ To publish a built-in app:
2424
3. Finally, run the following cmdlet with `<PackageFamilyName>` replaced by the **PackageFamilyName** you found in the previous step:
2525

2626
```powershell
27-
New-AzWvdApplication -Name <applicationname> -ResourceGroupName <resourcegroupname> -ApplicationGroupName <appgroupname> -FilePath "shell:appsFolder\<PackageFamilyName>!App" -CommandLineSetting <Allow|Require|DoNotAllow> -IconIndex 0 -IconPath <iconpath> -ShowInPortal:$true
27+
$parameters = @{
28+
Name = '<ApplicationName>'
29+
ResourceGroupName = '<ResourceGroupName>'
30+
ApplicationGroupName = '<ApplicationGroupName>'
31+
FilePath = 'shell:appsFolder\<PackageFamilyName>!App'
32+
CommandLineSetting = '<Allow|Require|DoNotAllow>'
33+
IconIndex = '0'
34+
IconPath = '<IconPath>'
35+
howInPortal = $true
36+
}
37+
38+
New-AzWvdApplication @parameters
2839
```
2940

3041
>[!NOTE]
@@ -36,10 +47,21 @@ After you publish an app, it will have the default Windows app icon instead of i
3647

3748
## Publish Microsoft Edge
3849

39-
The process you use to publish Microsoft Edge is a little different from the publishing process for other apps. To publish Microsoft Edge with the default homepage, run this cmdlet:
50+
To publish Microsoft Edge with the default homepage, run this cmdlet:
4051

4152
```powershell
42-
New-AzWvdApplication -Name -ResourceGroupName -ApplicationGroupName -FilePath "shell:Appsfolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" -CommandLineSetting <Allow|Require|DoNotAllow> -iconPath "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\microsoftedge.exe" -iconIndex 0 -ShowInPortal:$true
53+
$parameters = @{
54+
Name = '<ApplicationName>'
55+
ResourceGroupName = '<ResourceGroupName>'
56+
ApplicationGroupName = '<ApplicationGroupName>'
57+
FilePath = 'shell:Appsfolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge'
58+
CommandLineSetting = '<Allow|Require|DoNotAllow>'
59+
IconIndex = '0'
60+
IconPath = 'C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\microsoftedge'
61+
howInPortal = $true
62+
}
63+
64+
New-AzWvdApplication @parameters
4365
```
4466

4567
## Next steps

0 commit comments

Comments
 (0)