Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DSquery/DSget

Status
Not open for further replies.

imac6775

Technical User
Jul 23, 2004
3
0
0
GB
Can anyone help on the following???

I have the following;
dsget group "CN=mygroup,OU=GG OU,OU=mycompany,DC=x,DC=com" -members >>"c:\documents and settings\xxxxx\my documents\dsquery\FTP.csv"

This is great as it gives me a list of all the contents of the above named group.

What i need is a targeted query against a specific OU.

So i want to know all members of the cn=mygroup, from a specific ou.

So everyone from mygroup but only if they are from the UK

If any help can be given...it would be welcome

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top