Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Script to retrieve AD Groups

Posted on 2011-03-06
4
Medium Priority
?
406 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 1200 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 800 total points
ID: 35046218
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

660 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