Export Active directory users and groups.


A

Alam

Hi,

I used following command to export all users defined in windows 2000 active
directory. Is there any way to export groups and their relationship with
users...

ldifde -f Exportuser.ldf -s MATRIX -d "dc=abc,dc=com,dc=my" -p subtree -r
"(&(objectCategory=person)(objectClass=User)(givenname=*))" -l
"cn,givenName,objectclass,samAccountName"

Thankx..

Tausif
 
Ad

Advertisements

S

Sergio Fonseca [MVP]

Hi,

Something like this?

dsget group "CN=NameOfTheGroup,OU=MyUsers,DC=Dom1,DC=Dom" -members | dsget
user -display

Qualquer sugestão deve ser testada antes de aplicada - www.gupade.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top