Quantcast
Channel: Directory Services Forum
Viewing all articles
Browse latest Browse all 2536

DirectoryEntry LDAP query

$
0
0

Hello all,

when i do this

$root = new-object System.DirectoryServices.DirectoryEntry("LDAP://mydomain.TopDomain.com")

i get a valid $root object

When i do this

$root = new-object System.DirectoryServices.DirectoryEntry("LDAP://mydomain")

I get an error saying "The server is not operational"

However, when i try with other domains with a similar pattern as above, i get valid $root object in both the cases. What is missing with this domain?

Please feel free to ask if you need more info


Viewing all articles
Browse latest Browse all 2536

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>