Skip to content

xRDLicenseConfiguration

dscbot edited this page Oct 15, 2025 · 1 revision

Parameters

Parameter Attribute DataType Description Allowed Values
ConnectionBroker Key String
LicenseMode Required String PerUser, PerDevice, NotConfigured
LicenseServer Write StringArray[]

Description

This resource is used to configure the Remote Desktop License Configuration.

Examples

Example 1

This example shows how to ensure that the Remote Desktop Licensing is setup in the correct mode.

configuration Example
{

    Import-DscResource -ModuleName 'xRemoteDesktopSessionHost'

    node localhost {

        xRDLicenseConfiguration MyLicenseServer {
            ConnectionBroker = 'connectionbroker.server.fqdn'
            LicenseMode      = 'PerUser'
            LicenseServer    = 'license.server.fqdn'
        }
    }
}
Clone this wiki locally