File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 34
34
. PARAMETER AzTags
35
35
Defines the tags for the Azure Virtual Desktop Host Pool.
36
36
37
+ . PARAMETER AzPreferredAppGroupType
38
+ Defines the preferred app group type for Azure Virtual Desktop Pool.
39
+
37
40
#>
38
41
[CmdletBinding ()]
39
42
param (
@@ -42,7 +45,10 @@ param(
42
45
[Parameter (Mandatory )]
43
46
[string ]$AzHostPoolName = " myHostPool" ,
44
47
[Parameter (Mandatory )]
45
- [string ]$AzTags = " myTags"
48
+ [string ]$AzTags = " myTags" ,
49
+ [Parameter (Mandatory )]
50
+ [ValidateSet (' Desktop' , ' None' , ' RailApplications' )]
51
+ [string ]$AzPreferredAppGroupType = " Desktop"
46
52
)
47
53
48
54
# Set Error Action to Silently Continue
@@ -51,4 +57,5 @@ $ErrorActionPreference = "Stop"
51
57
az desktopvirtualization hostpool update `
52
58
-- resource- group $AzResourceGroupName `
53
59
-- name $AzHostPoolName `
54
- -- tags $AzTags
60
+ -- tags $AzTags `
61
+ -- preferred- app- group-type $AzPreferredAppGroupType
You can’t perform that action at this time.
0 commit comments