You can easily retrieve this information using VBScript, as follows:
Set objGroup = GetObject _ ("LDAP://cn=Scientists,ou=R&D,dc=NA,dc=fabrikam,dc=com") objGroup.GetInfo
arrMemberOf = objGroup.GetEx("member") WScript.Echo("Group members: " & arrMemberOf.length)
Dig Deeper on Microsoft Active Directory Design and Administration
Related Q&A from Laura Hunter
Active Directory expert Laura E. Hunter tells a reader what to keep in mind when deleting subnets associated with sites being removed in an ...continue reading
Active Directory expert Laura E. Hunter offers a tip for shortening client wait times.continue reading
Active Directory expert Laura E. Hunter explains to a reader what must be done to change the default display specifiers for new users in Active ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.