Hi Guys,
I am not a C# or a scripting guy. Would love to know how I could use this to get the list of computers from my AD domain. Your help would be appreciated!
Regards,
SAM
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Hemant KumarPosted Jul 1, 2012, 10:07 PM
If you know the AD path to the group already it would probably be easier to open a DirectoryEntry on that, then do a DirectorySearcher from there.
There is also a flag on the Searcher for whether to drill down to sub containers, I forget the name off hand.