I'm wondering how Windows Server 2008 generates known license server lists (where it's stored and when/how updated) for RDS, and as RD Session Host Configuration Console doesn't allow multiple select when adding license server I'm also looking for a way to specify license servers via script (PS is preferable).
I guess this list is stored in Registry and I can read values and use them in my script to specify license servers but I guess there could be better options for this.
Enterprise Remote Desktop License Servers store their licensing information in Active Directory. You can view it using the AD Sites & Services snap-in.
Following can be used for adding all Known license severs to Specified license servers with PowerShell: