We have created 2 Group Families in our domain. One of the group families is based on user's department. Over time, as user's departments have changed, a fairly significant number of the group family groups have become empty.
I would like to develop an automated process in powershell where by those groups in a group family that become empty will get deleted and removed from the captured groups list in the group family control object.
Is there any guidance on how one might accomplish this? Any information on policing these group families?