Windows Server 2008 R2, introduced Remote Desktop Services Provider for Windows PowerShell. This post gives examples of how you can use this feature to manage Remote Desktop Licensing. Prerequisites: · Install required RDS feature (that’s, RDL for e.g. 1 and RDSH for e.g. 2) · Launch RDS module for PowerShell: o Click Start -> All Programs -> Administrative Tools -> RDS. o Right-click RDS module for PowerShell, and then select Run as Administrator. After you do this, you’ll see a PowerShell window with prompt set to RDS drive. Following’re two examples for configuring a server with PowerShell: Note: When using Powershell commands, make sure that you execute them from correct path. First cd to correct directory before executing command. 1. On RD license server: a. Activate license server using Automatic Connection method with following command: PS RDS:\LicenseServer> Set-Item .\ActivationStatus -Value 1 -ConnectionMethod AUTO -Reason [Reason]
Get Latest News
Subscribe to Digital News Hub
Get our daily newsletter about the latest news in the industry.