Install-WindowsFeature -IncludeManagementTools -Name RDS-RD-Server
Download and Install https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RWrmXv and apply Reg Key
Download and Install https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RWrxrH
Setup RDS Licensing
$obj = gwmi -namespace “Root/CIMV2/TerminalServices” Win32_TerminalServiceSetting
$obj.ChangeMode(4)
$obj.SetSpecifiedLicenseServerList(“SDG1.x.local”)
$obj.GetSpecifiedLicenseServerList()