Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

Active Directory Reports on Distribution/Security Groups

Posted on 2009-04-02
3
Medium Priority
?
198 Views
Last Modified: 2012-05-06
What is the best method to find out how many (With the name) distribution and security groups we have within Active Directory.

I was thinking a query, but wouldn't know what to write for the code.

Ideally I would like a CSV file with a table that includes both Security and Distribution Groups, and then I can sit down and see which ones are not needed.

Any help, and suggestions are greatly appreciated.

Thanks.
0
Comment
Question by:mishcondereya
[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 70

Expert Comment

by:KCTS
ID: 24047953
0
 
LVL 35

Accepted Solution

by:
Joseph Daly earned 2000 total points
ID: 24048062
Why not just do it the easy way. In the AD users and computers you can run this query.
(&(objectCategory=group)(name=*))

Basically any group where a name is present it will find. It will display like below and then you can export the list.
1.jpg
2.jpg
0
 

Author Closing Comment

by:mishcondereya
ID: 31565704
Top man!!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

647 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