PowerShell Logo Small

Set-RDLicenseConfiguration



This is the built-in help made by Microsoft for the command 'Set-RDLicenseConfiguration', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Defines settings for the RD Licensing server and the licensing mode of the Remote Desktop deployment.

SYNTAX


Set-RDLicenseConfiguration [-ConnectionBroker <String>] [-Force] -Mode <LicensingMode> [<CommonParameters>]
Set-RDLicenseConfiguration [-ConnectionBroker <String>] [-Force] -LicenseServer <String[]> -Mode <LicensingMode> [<CommonParameters>]
Set-RDLicenseConfiguration [-ConnectionBroker <String>] [-Force] -LicenseServer <String[]> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-RDLicenseConfiguration cmdlet defines settings for the Remote Desktop Licensing (RD Licensing) server and the licensing mode of the Remote Desktop deployment.


RDLicensing manages the Remote Desktop Services client access licenses (RDS CALs) that each device or user requires to connect to a Remote Desktop Session Host (RDSession
Host) server.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294260
Get-RDLicenseConfiguration

REMARKS

<

Examples


Example 1: Set the Remote Desktop license configuration

PS C:\> Set-RDLicenseConfiguration -LicenseServer @("Rdl-1.Contoso.com","Rdl-2.Contoso.com") -ConnectionBroker "Rdcb.Contoso.com"



This command sets the Remote Desktop license configuration with the servers named Rdl1-Contoso.com and Rdl-2.Contoso.com and the RDConnection Broker server named
Rdcb.Contoso.com.




Example 2: Set the Remote Desktop license configuration in PerUser mode

PS C:\> Set-RDLicenseConfiguration -LicenseServer @("Rdl-1.Contoso.com","Rdl-2.Contoso.com") -Mode PerUser -ConnectionBroker Rdcb.Contoso.com



This command sets the Remote Desktop license configuration in PerUser mode with the servers named Rdl-1.Contoso.com and Rdl-2.Contoso.com and the RDConnection Broker server
named Rdcb.Contoso.com.




Example 3: Set the Remote Desktop license configuration in PerDevice mode

PS C:\> Set-RDLicenseConfiguration -Mode PerDevice -ConnectionBroker "Rdcb.Contoso.com"



This command sets the Remote Desktop license configuration in PerDevice mode for the RD Connection Broker server named Rdcb.Contoso.com.