To add all known RDS license servers to specified license servers list you could use RDS Host Configuration console (tsconfig.msc), but in Windows Server 2008 R2 GUI doesn’t allow for multiple select and therefore if you need to add all known license servers via GUI it is a little bit inconvenient.
Better option to accomplish this is via PowerShell, here is how:
\n[code lang=”powershell”]\nimport-module remotedesktopservices\ncd RDS:RDSConfigurationLicensingSettingsSpecifiedLicenseServers\ndir ..RegisteredLicenseServers | new-item -force</blockquote>\n[/code]
And as you most likely going to do it remotely you should use Enter-PSSession -ComputerName YOUR_SERVER_NAME to start remote PS session. In case PSRemoting is not enabled (use Test-WSMan to check) go to target machine and use Enable-PSRemoting – force to enable it.