Forum Discussion
Roger Seekell
Dec 03, 2020Brass Contributor
Get Distribution Groups of a certain size (member count)
I've been tasked with getting/reporting distribution groups of 100 members or more, and specifically the sending restrictions applied to them. We are a large tenant with over 100,000 users and o...
- Dec 03, 2020
if you have hybrid identities, you can query local ad group members Get-ADGroupMember.
Run a loop to get member count for each group..
VasilMichev
Dec 03, 2020MVP
Best you can do in O365 is create a report of each group's membership and use the count there. Here's a sample script I wrote a while back: How to inventory membership of Exchange Groups, recursively (practical365.com)
Roger Seekell
Dec 09, 2020Brass Contributor
VasilMichev Thank you. I will try your script; it may be the solution for the cloud-only groups I have yet to count.