You can use a simple VBScript to return this, similar to the following:
On Error Resume Next
Set objGroup = GetObject _
arrMemberOf = objGroup.GetEx("member")
i = 0
For Each strMember in arrMemberOf
i = i + 1
Dig Deeper on Microsoft Windows Server 2003 Administration
Related Q&A from Laura Hunter
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
Active Directory expert Laura E. Hunter offers some advice for changing the IP addresses of domain controllers.continue reading
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
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.