Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Need to extract a list all active directory users from all active directory groups

Posted on 2012-03-12
4
Medium Priority
?
239 Views
Last Modified: 2012-04-06
Hi all ,

As the title suggests Im looking for a script that can extract a list of user group membership for all groups in the AD and direct them to a txt file that is some what legible :-)

Thanks
Gerard
0
Comment
Question by:Enclave Technologies
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 44

Expert Comment

by:Amit
ID: 37711027
0
 
LVL 2

Expert Comment

by:ktmat
ID: 37711097
e.g.:
dsquery group -limit 99999 | dsget group -members >export.txt
0
 

Author Comment

by:Enclave Technologies
ID: 37770810
Just to clarify. I want to extract what users/groups have access to what folders on the H drive. ( the H drive is a network drive)
0
 
LVL 44

Accepted Solution

by:
Amit earned 1000 total points
ID: 37771259
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Here's a look at newsworthy articles and community happenings during the last month.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question