Skip to content

Commit d50f383

Browse files
committed
Updating code and removing confusing phrasing.
1 parent ef86fc4 commit d50f383

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

articles/virtual-desktop/publish-apps.md

Lines changed: 24 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,17 @@ 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+
New-AzWvdApplication @parameters
28+
$parameters = @{
29+
Name = '<applicationname>'
30+
ResourceGroupName = '<resourcegroupname>'
31+
ApplicationGroupName = '<appgroupname>'
32+
FilePath = 'shell:appsFolder\<PackageFamilyName>!App'
33+
CommandLineSetting = '<Allow|Require|DoNotAllow>'
34+
IconIndex = '0'
35+
IconPath = '<IconPath>'
36+
ShowInPortal = $true
37+
}
2838
```
2939

3040
>[!NOTE]
@@ -36,10 +46,20 @@ After you publish an app, it will have the default Windows app icon instead of i
3646

3747
## Publish Microsoft Edge
3848

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:
49+
To publish Microsoft Edge with the default homepage, run this cmdlet:
4050

4151
```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
52+
New-AzWvdApplication @parameters
53+
$parameters = @{
54+
Name = '<applicationname>'
55+
ResourceGroupName = '<resourcegroupname>'
56+
ApplicationGroupName = '<appgroupname>'
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+
ShowInPortal = $true
62+
}
4363
```
4464

4565
## Next steps

0 commit comments

Comments
 (0)