Below command will list all the Terminal Server License RDS servers in an Active Directory Domain. I ran the below from my laptop joined to AD, if it doesn’t work just run it from the DC itself. In the output below we have a big list of license servers, the CN column has the server name.
Run command prompt as admin and execute the below:
C:>dsquery * -filter “(&(CN=TermServLicensing)(objectClass=serviceConnectionPoint))”