• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

Active Directory Reports on Distribution/Security Groups

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
mishcondereya
Asked:
mishcondereya
1 Solution
 
Joseph DalyCommented:
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
 
mishcondereyaAuthor Commented:
Top man!!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now