Staticfactory
IS-IT--Management
I'm just getting my feet wet with VBscript in an attempt to turn tedious/repetitive jobs into scripts. We're about to do some security restructuring in Active Directory and have about 150 different user groups that I would like to generate member reports for. I've been looking at some primers for the coding methods for this, but I'm still hung up on the whole CN/OU/DC structuring of the LDAP string. Of course, I'm not overly thorough in the idea of AD yet either, so please bear with me.
I was hoping someone could clear this up for me using the following example.
Domain is ad.mydomain.net
Under the domain, in the AD console I have NTAM - Toronto - MyCompany - Groups/Users/Computers.
Now, I'm trying to query the groups for it's members but am not sure how to structure the CN/OU/DC elements of the LDAP string to get at them.
I hope this makes a shred of sense!
I was hoping someone could clear this up for me using the following example.
Domain is ad.mydomain.net
Under the domain, in the AD console I have NTAM - Toronto - MyCompany - Groups/Users/Computers.
Now, I'm trying to query the groups for it's members but am not sure how to structure the CN/OU/DC elements of the LDAP string to get at them.
I hope this makes a shred of sense!