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

x
?
Solved

Powershell script for AD

Posted on 2012-03-15
3
Medium Priority
?
472 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 Koschka earned 2000 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

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

Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
A new hacking trick has emerged leveraging your own helpdesk or support ticketing tools as an easy way to distribute malware.
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

670 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