Skip to content

Commit 6de040c

Browse files
committed
Bringing in batch changes. Merge branch 'work-friendly-sessions2' of https://github.com/Heidilohr/azure-docs-pr into work-friendly-sessions2
2 parents e5a8a89 + 8f2a7ee commit 6de040c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/virtual-desktop/configure-host-pool-personal-desktop-assignment-type.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,21 +125,21 @@ To reassign a personal desktop in the Azure portal:
125125

126126
## Give session hosts within a personal host pools a friendly name
127127

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.
129129

130130
To give a host pool a friendly name, run the following command:
131131

132132
```powershell
133-
$body = @{
134-
'properties.friendlyName' = 'friendlyName'
135-
} | ConvertTo-Json
133+
$body = '{ "properties": {
134+
"friendlyName": "friendlyName"
135+
} }'
136136
137137
$subscriptionId = '11111111-1111-1111-1111-111111111111'
138138
$resourceGroupName = 'MyResourceGroupName'
139139
$hostPoolName = 'MyHostPoolName'
140140
141141
$parameters = @{
142-
Method = 'Post'
142+
Method = 'Patch'
143143
Path = "/subscriptions/$subscriptionId/resourceGroups/$resourceGroupName/providers/Microsoft.DesktopVirtualization/hostPools/$hostPoolName?api-version=2022-02-10-preview"
144144
Payload = $body
145145
}

0 commit comments

Comments
 (0)