Hi Ertug,

 

Have a look at http://support.microsoft.com/default.aspx?scid=kb;en-us;Q318180


Not sure if this may be applicable in your case.

 

Cheers,
William


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ertug Gurhan
Sent: 28 January 2005 15:43
To: [email protected]
Subject: [ActiveDir] VB Script

 

I have a VB script that queries the Domain Admins group for memebership, but when I run it, it fails to extract all memebers, 1 user n specific, any ideas?

 

Thank you

 

strComputer = "."

Set objGroup = GetObject("LDAP://cn=Domain Admins,ou=Groups,ou=Firm,dc=xyx,dc=corp")

For each objMember in objGroup.Members

Wscript.Echo objMember.DistinguishedName

Next

This communication (including any attachments) contains information which is confidential and may also be privileged.
It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s), please do not distribute, copy or use this communication or the information.
Instead, if you have received this communication in error, please notify the sender immediately and then destroy any copies of it.

Due to the nature of the Internet, the sender is unable to ensure the integrity of this message and does not accept any liability or responsibility for any errors or omissions (whether as the result of this message having been intercepted or otherwise) in the contents of this message.

Any views expressed in this communication are those of the individual sender, except where the sender specifically states them to be the views of the company.

Reply via email to