This is quick one for a reference, searching for AD groups with present email address, but without members using LDAP filter and powershell:
Same LDAP filter can be used with Active Directory Users and Computers:
Happy hunting :)
Get-ADObject -LDAPFilter "(&(objectcategory=group)(!(member=*))(mail=*))"
Same LDAP filter can be used with Active Directory Users and Computers:
Happy hunting :)