• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 673
  • Last Modified:

Export "memberof" of every user in AD into text file

Hi,
How do you export the "user" and the "memberof" attribute for every users in AD and output it into a text file?
I believe there is a command line that we can use.

Thanks
0
Coregas
Asked:
Coregas
1 Solution
 
Mike KlineCommented:
There are lots of ways (dstools, csvde, adfind, powershell, etc)

I like adfind

http://www.joeware.net/freetools/tools/adfind/index.htm

adfind -default -f "&(objectcategory=person)(objectclass=user)" samaccountname memberof -nodn > c:\users.txt

adinfo is a nice free GUI tool that can do it too   http://www.cjwdev.co.uk/Software/ADReportingTool/Info.html

Thanks

Mike
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now