PowerShell Lab Complete!

You've mastered Remote Desktop Services management with PowerShell!

Take the Quiz → Try GUI Lab

Lab Tasks

1. List Session Collections
View all RDS session collections on the server.
Get-RDSessionCollection
2. Create Collection
Create a new RDS session collection.
New-RDSessionCollection -CollectionName "Sales" -SessionHost "RDSH01.hexworth.local"
3. Publish RemoteApp
Publish an application as a RemoteApp.
New-RDRemoteApp -CollectionName "Sales" -DisplayName "Calculator" -FilePath "C:\Windows\System32\calc.exe"
4. View User Sessions
List all active and disconnected user sessions.
Get-RDUserSession
5. Configure Licensing
Set the RD Licensing server and mode.
Set-RDLicenseConfiguration -LicenseServer "RDLS01.hexworth.local" -Mode PerUser
RDS Architecture:
Connection Broker manages session collections, which contain session hosts. RemoteApps are published per collection.
Tip: Use Get-Command *RD* to discover all RDS cmdlets available in the RemoteDesktop module.