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

Add a comment »One comment to this article

  1. it did the trick . thanks


Time limit is exhausted. Please reload CAPTCHA.

Original Theme by Schiy · Powered by WordPress