Solved

Powershell script for AD

Posted on 2012-03-15
3
465 Views
Last Modified: 2012-03-16
I have been searching online but have been having trouble locating a script to do exactly what I want.  I hope someone here can help. I am looking for a Powershell script (or another free alternative) that will produce a file that lists all users in a specific Active Directory OU and all of their memberships.  If it can distinguish between a security group and a distribution group that would be even better.  Also it would be helpful if it could list each users' username as well.  I heard a program called Hyena can do this but I used up my 30 day trial on another project some time ago and cannot afford to purchase the full application at this point.

Any help would be appreciated.
0
Comment
Question by:HLR6S
3 Comments
 
LVL 8

Accepted Solution

by:
Elmar-H earned 500 total points
ID: 37725029
0
 
LVL 57

Expert Comment

by:Mike Kline
ID: 37725539
adinfo is a free tool that you might want to check out

http://www.cjwdev.co.uk/Software/ADReportingTool/Info.html

I've attached a screenshot, doesn't distinguish the group type.

I know scripts with powershell and adfind can do it but not sure about the checkbox that would say what type of group.   For example in adfind   http://www.activedir.org/Articles/tabid/54/articleType/ArticleView/articleId/29/LDAP-tips-2-Searching-for-Groups.aspx

adinfo screenshot below

adinfo user groups
Thanks

Mike
0
 

Author Closing Comment

by:HLR6S
ID: 37729520
Thank you, I was able to quickly get the info I needed with this tool.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
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…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now