I was just wondering if someone could help me opn this. I am trying to run a script to find a list of all empty distribution groups using powershell.
When I do:
Get-ADGroup -Filter (‘groupcategory -eq “distribution”’) -Properties *
This lists all distribution groups. However, I need to filter further to select where members = null/empty.