File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -125,21 +125,21 @@ To reassign a personal desktop in the Azure portal:
125
125
126
126
## Give session hosts within a personal host pools a friendly name
127
127
128
- You can give personal host pools you create * friendly names* to help users distinguish them in their feeds.
128
+ You can give personal desktops you create * friendly names* to help users distinguish them in their feeds.
129
129
130
130
To give a host pool a friendly name, run the following command:
131
131
132
132
``` powershell
133
- $body = @ {
134
- 'properties. friendlyName' = ' friendlyName'
135
- } | ConvertTo-Json
133
+ $body = '{ "properties": {
134
+ " friendlyName": " friendlyName"
135
+ } }'
136
136
137
137
$subscriptionId = '11111111-1111-1111-1111-111111111111'
138
138
$resourceGroupName = 'MyResourceGroupName'
139
139
$hostPoolName = 'MyHostPoolName'
140
140
141
141
$parameters = @{
142
- Method = 'Post '
142
+ Method = 'Patch '
143
143
Path = "/subscriptions/$subscriptionId/resourceGroups/$resourceGroupName/providers/Microsoft.DesktopVirtualization/hostPools/$hostPoolName?api-version=2022-02-10-preview"
144
144
Payload = $body
145
145
}
You can’t perform that action at this time.
0 commit comments