Solved

Powershell script for AD

Posted on 2012-03-15
3
464 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

Join & Write a Comment

Ever wondered why Windows 8 and 10 don't seem to accept your GPO-based software deployment while Windows 7 does? Read on.
Email signature management is something that is often overlooked in many organizations or is simply not implemented effectively. Let's take a look at what methods are available for managing this important piece of corporate branding.
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…

759 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

19 Experts available now in Live!

Get 1:1 Help Now