Skip to content

Commit fc51769

Browse files
authored
Merge pull request #116232 from Heidilohr/work-configure-remove
Added "remove assignment" section to both "Configure desktop assignment" articles
2 parents 46fa278 + a7ff234 commit fc51769

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: HeidiLohr
66

77
ms.service: virtual-desktop
88
ms.topic: conceptual
9-
ms.date: 03/30/2020
9+
ms.date: 05/22/2020
1010
ms.author: helohr
1111
manager: lizross
1212
---
@@ -71,6 +71,18 @@ To assign a user to a specific session host, run the following PowerShell cmdlet
7171
Set-RdsSessionHost <tenantname> <hostpoolname> -Name <sessionhostname> -AssignedUser <userupn>
7272
```
7373

74+
## Remove a user assignment
75+
76+
You may want to remove a user assignment because the user no longer needs the personal desktop, the user has left the company, or you want to reuse the desktop for someone else.
77+
78+
Currently, the only way you can remove the user assignment for a personal desktop is to fully remove the session host. To remove the session host, run this cmdlet:
79+
80+
```powershell
81+
Remove-RdsSessionHost
82+
```
83+
84+
If you need to add the session host back into the personal desktop host pool, uninstall Windows Virtual Desktop on that machine, then follow the steps in [Create a host pool with PowerShell](create-host-pools-powershell-2019.md) to re-register the session host.
85+
7486
## Next steps
7587

7688
Now that you've configured the personal desktop assignment type, you can sign in to a Windows Virtual Desktop client to test it as part of a user session. These next two How-tos will tell you how to connect to a session using the client of your choice:

0 commit comments

Comments
 (0)