Through reading web pages and this forum, I have found that you can configure a license server by doing the following...
cd Import-Module ServerManager
Add-WindowsFeature -Name RDS-RD-Server -IncludeAllSubFeature -Restart
Add-WindowsFeature -Name LicenseServer
cd RDS:LicenseServer\Configuration\
set-item FirstName -Value John
set-item LastName -Value Doe
set-item Company -Value Acme
set-item CountryRegion -Value "United States"
cd RDS:LicenseServer
set-item .\ActivationStatus -Value 1 -ConnectionMethod AUTO -Reason 5
cd RDS:\LicenseServer\LicenseKeyPacks
new-item RDS:\LicenseServer\LicenseKeyPacks -InstallOption INSTALL -ConnectionMethod AUTO -LicenseType AGREEMENT -AGREEMENTTYPE 0 -AGREEMENTNUMBER abc -PRODUCTVERSION 2 -PRODUCTTYPE 1 -LICENSECOUNT 5
but I can't find descriptions for the settings for the last command? what are they