Solved

Powershell script for AD

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

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…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
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 …

705 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