Solved

Script to retrieve AD Groups

Posted on 2011-03-06
4
391 Views
Last Modified: 2012-08-13
I am looking for a script that will retrieve users and groups from AD groups and output them to a txt or excel file.
0
Comment
Question by:rimmena
[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 6

Accepted Solution

by:
ckivml earned 300 total points
ID: 35045861
Please find the attachment for requested.. save as .vbs and use it..

ADSCR.docx
0
 
LVL 21

Expert Comment

by:snusgubben
ID: 35046106
What info do you want, and how should be formatted?

Here is one way: http://adfordummiez.com/?p=129
0
 
LVL 6

Author Comment

by:rimmena
ID: 35046176
That's excellent, can you add a column to show which group each nested group or user is a member of ?
0
 
LVL 21

Assisted Solution

by:snusgubben
snusgubben earned 200 total points
ID: 35046218
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

This article explains the steps required to use the default Photos screensaver to display branding/corporate images
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
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 …

726 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