Skip to content

Commit 2afe512

Browse files
committed
Updates based on feedback.
1 parent c2f2ea4 commit 2afe512

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

articles/virtual-desktop/publish-apps.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +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 @parameters
2827
$parameters = @{
29-
Name = '<applicationname>'
30-
ResourceGroupName = '<resourcegroupname>'
31-
ApplicationGroupName = '<appgroupname>'
28+
Name = '<ApplicationName>'
29+
ResourceGroupName = '<ResourceGroupName>'
30+
ApplicationGroupName = '<ApplicationGroupName>'
3231
FilePath = 'shell:appsFolder\<PackageFamilyName>!App'
3332
CommandLineSetting = '<Allow|Require|DoNotAllow>'
3433
IconIndex = '0'
3534
IconPath = '<IconPath>'
36-
ShowInPortal = $true
37-
}
35+
howInPortal = $true
36+
}
37+
38+
New-AzWvdApplication @parameters
3839
```
3940

4041
>[!NOTE]
@@ -49,17 +50,18 @@ After you publish an app, it will have the default Windows app icon instead of i
4950
To publish Microsoft Edge with the default homepage, run this cmdlet:
5051

5152
```powershell
52-
New-AzWvdApplication @parameters
5353
$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
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
6262
}
63+
64+
New-AzWvdApplication @parameters
6365
```
6466

6567
## Next steps

0 commit comments

Comments
 (0)