Modifier

Partager via


Get-RDLicenseConfiguration

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

Syntax

Get-RDLicenseConfiguration
   [[-ConnectionBroker] <String>]
   [<CommonParameters>]

Description

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

RD Licensing servers manage the Remote Desktop Services client access licenses (RDS CALs) that each device or user requires to connect to a Remote Desktop Session Host (RD Session Host) server.

Examples

Example 1: Get the Remote Desktop license configuration

PS C:\> Get-RDLicenseConfiguration -ConnectionBroker "Rdcb.Contoso.com"

This command gets the Remote Desktop license configuration for the RD Connection Broker server named Rdcb.Contoso.com.

Parameters

-ConnectionBroker

Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for this Remote Desktop deployment. If you do not supply a value, the cmdlet uses the fully qualified domain name (FQDN) of the local computer.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Object

  • Mode (string). Remote Desktop licensing mode that you configured for the deployment. Valid values are PerUser and PerDevice.
  • LicenseServer (string[]). FQDN of the Remote Desktop license server that you configured for the deployment.