Set-RDLicenseConfiguration
Set-RDLicenseConfiguration
Defines settings for the RD Licensing server and the licensing mode of the Remote Desktop deployment.
구문
Parameter Set: ModePS
Set-RDLicenseConfiguration -Mode <LicensingMode> [-ConnectionBroker <String> ] [-Force] [ <CommonParameters>]
Parameter Set: BothPS
Set-RDLicenseConfiguration -LicenseServer <String[]> -Mode <LicensingMode> [-ConnectionBroker <String> ] [-Force] [ <CommonParameters>]
Parameter Set: LicenseServerPS
Set-RDLicenseConfiguration -LicenseServer <String[]> [-ConnectionBroker <String> ] [-Force] [ <CommonParameters>]
자세한 설명
The Set-RDLicenseConfiguration cmdlet defines settings for the Remote Desktop Licensing (RD Licensing) server and the licensing mode of the Remote Desktop deployment.
RD Licensing manages 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.
매개 변수
-ConnectionBroker<String>
Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for a Remote Desktop deployment. If you do not supply a value, the cmdlet uses the fully qualified domain name (FQDN) of the local host.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Force
Performs the action without displaying a confirmation message.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-LicenseServer<String[]>
Specifies the FQDN of the RD Licensing server to configure.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Mode<LicensingMode>
Specifies the licensing mode to configure for the deployment. Valid values are PerUser, PerDevice, and NotConfigured.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
Null
None
예제
Example 1: Set the Remote Desktop license configuration
This command sets the Remote Desktop license configuration with the servers named Rdl1-Contoso.com and Rdl-2.Contoso.com and the RD Connection Broker server named Rdcb.Contoso.com.
PS C:\> Set-RDLicenseConfiguration -LicenseServer @("Rdl-1.Contoso.com","Rdl-2.Contoso.com") -ConnectionBroker "Rdcb.Contoso.com"
Example 2: Set the Remote Desktop license configuration in PerUser mode
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 RD Connection Broker server named Rdcb.Contoso.com.
PS C:\> Set-RDLicenseConfiguration -LicenseServer @("Rdl-1.Contoso.com","Rdl-2.Contoso.com") -Mode PerUser -ConnectionBroker Rdcb.Contoso.com
Example 3: Set the Remote Desktop license configuration in PerDevice mode
This command sets the Remote Desktop license configuration in PerDevice mode for the RD Connection Broker server named Rdcb.Contoso.com.
PS C:\> Set-RDLicenseConfiguration -Mode PerDevice -ConnectionBroker "Rdcb.Contoso.com"