Windows 2019
Sponsored Link

Remote Desktop : Create Session Collections2020/12/15

 
Create Session Collections to manage Remote Desktop Service.
[1] Logon with an user who are in [Domain Admins] group and Run PowerShell with Admin Privilege.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

# create a session collection
# -CollectionName (any collection name)
# -CollectionDescription (any collection description)
# -SessionHost (session server's hostname or IP address)
# -ConnectionBroker (connection broker's hostname or IP address)
PS C:\Users\serverworld> New-RDSessionCollection -CollectionName "rx-7.srv.world" `
-CollectionDescription "Session collection for rx-7.srv.world." `
-SessionHost @("rx-7.srv.world") `
-ConnectionBroker "rx-7.srv.world"

# confirm settings
PS C:\Users\serverworld> Get-RDSessionCollection 

CollectionName                 Size  ResourceType       CollectionType    CollectionDescription
--------------                 ----  ------------       --------------    ---------------------
rx-7.srv.world                 1     RemoteApp programs PooledUnmanaged   Session collection for rx-7.srv.world.

# confirm access permission
# [Domain Users] group is allowed by default
PS C:\Users\serverworld> Get-RDSessionCollectionConfiguration `
-CollectionName "rx-7.srv.world" `
-UserGroup -ConnectionBroker "rx-7.srv.world" 

CollectionName                 UserGroup
--------------                 ---------
rx-7.srv.world                 {FD3S01\Domain Users}

# if you'd like to allow more users ot groups, set like follows
# set configuration to specify AD users or groups
PS C:\Users\serverworld> Set-RDSessionCollectionConfiguration -CollectionName "rx-7.srv.world" `
-UserGroup @("FD3S01\Domain Users","FD3S01\Serverworld","FD3S01\Redstone") 

PS C:\Users\serverworld> Get-RDSessionCollectionConfiguration -CollectionName "rx-7.srv.world" `
-UserGroup -ConnectionBroker "rx-7.srv.world" 

CollectionName                 UserGroup
--------------                 ---------
rx-7.srv.world                 {FD3S01\Domain Users, FD3S01\Serverworld, FD3S01\Redstone}
Remote Desktop : Create Session Collections (GUI)
 
On GUI configuration, Do like follows.
[2] Run Server Manager and Select [Remote Desktop Services] on the left pane.
[3] Click [(3) Create session collections] on the right pane.
[4] Click [Next] button.
[5] Set any session collection name and description you like.
[6] Specify Remote Desktop session Host server. The servers in the Domain are listed, select from them.
[7] Specify users or groups you allow to access to session collection. [Domain Users] group is allowed by default like follows.
[8] Specify user profile disks. If enabled, it's possible to use the same settings on other environment.
[9] Confirm selections and click [Create] button if that's OK.
[10] After finishing all, click [Close] button.
Matched Content