Skip to content

Commit 9eda706

Browse files
committed
Fixing missed comments.
1 parent 9ac5ef6 commit 9eda706

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Azure Virtual Desktop personal desktop assignment type - Azure
33
description: How to configure automatic or direct assignment for an Azure Virtual Desktop personal desktop host pool.
44
author: Heidilohr
55
ms.topic: how-to
6-
ms.date: 03/02/2023
6+
ms.date: 03/03/2023
77
ms.author: helohr
88
ms.custom: devx-track-azurepowershell
99
manager: femila
@@ -24,7 +24,7 @@ This article assumes you've already downloaded and installed the Azure Virtual D
2424

2525
### Define variables
2626

27-
The PowerShell commands listed in this article require defining the following variables:
27+
The PowerShell commands listed in this article require defining the following variables with the placeholder values replaced with the values relevant to your account and deployment:
2828

2929
```powershell
3030
#Define variables
@@ -153,7 +153,7 @@ To reassign a personal desktop in the Azure portal:
153153

154154
## Reassign a personal desktop using PowerShell
155155

156-
To reassign a personal desktop, run this command:
156+
To reassign a personal desktop, run this command with the placeholder values replaced with values relevant to your deployment:
157157

158158
```powershell
159159
$reassignDesktopParams = @{
@@ -167,11 +167,11 @@ $reassignDesktopParams = @{
167167
Invoke-AzRestMethod @reassignDesktopParams
168168
```
169169

170-
## Give session hosts within a personal host pools a friendly name
170+
## Give session hosts in a personal host pool a friendly name
171171

172172
You can give personal desktops you create *friendly names* to help users distinguish them in their feeds.
173173

174-
To give a host pool a friendly name, run the following command in PowerShell:
174+
To give a session host a friendly name, run the following command in PowerShell with the placeholder values replaced with values relevant to your deployment:
175175

176176
```powershell
177177
$body = '{ "properties": {
@@ -180,7 +180,7 @@ $body = '{ "properties": {
180180
181181
$parameters = @{
182182
Method = 'Patch'
183-
Path = "/subscriptions/$subscriptionId/resourceGroups/$resourceGroupName/providers/Microsoft.DesktopVirtualization/hostPools/$hostPoolName?api-version=2022-02-10-preview"
183+
Path = "/subscriptions/$subscriptionId/resourceGroups/$resourceGroupName/providers/Microsoft.DesktopVirtualization/hostPools/$hostPoolName/sessionHosts/$($sessionHostName)?api-version=2022-02-10-preview"
184184
Payload = $body
185185
}
186186
@@ -192,7 +192,7 @@ Invoke-AzRestMethod @parameters
192192
193193
### Get the session host friendly name
194194

195-
To get the session host friendly name, run this command in PowerShell
195+
To get the session host friendly name, run this command in PowerShell with the placeholder values replaced with values relevant to your deployment:
196196

197197
```powershell
198198
$getParams = @{
@@ -204,7 +204,7 @@ Invoke-AzRestMethod @getParams
204204

205205
## Next steps
206206

207-
Now that you've configured the personal desktop assignment type, you can sign in to an Azure Virtual Desktop client to test it as part of a user session. These articles will show you how to connect to a session using the client of your choice:
207+
Now that you've configured the personal desktop assignment type and given your session host a friendly name, you can sign in to an Azure Virtual Desktop client to test it as part of a user session. These articles will show you how to connect to a session using the client of your choice:
208208

209209
- [Connect with the Windows Desktop client](./users/connect-windows.md)
210210
- [Connect with the web client](./users/connect-web.md)

0 commit comments

Comments
 (0)