Windows: Find all Terminal/Remote Desktop Server Licenseserver


to determine which Server provides the Terminal License Server Role in your Active Directory Forest use the following powershell script.

# Get the Configuration DN of your domain
$sConfiguration = ([adsi]"LDAP://rootdse").ConfigurationNamingContext
# Get ADSI object
$oDSE = [adsi]"LDAP://$sConfiguration"
# And looking for commen name TS-Enterprise-License-Server
$oSearcher=New-Object DirectoryServices.DirectorySearcher ($oDSE,"CN=TS-Enterprise-License-Server")
# Print all


See also

Advertisment to support

One thought on “Windows: Find all Terminal/Remote Desktop Server Licenseserver”

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.