Find empty AD groups – Powershell

Find empty AD groups – Powershell

In old environments we can meet a lot of old groups in Ad which was created, but often are not used or even without any member. I will show you short script which will find all AD groups and give us count of members in every of them.

As a result we will have list of all groups with member count sorted from 0 to up. Below show you fragment of that.

Komentarze

Nie ma jeszcze komentarzy. Może zaczniesz dyskusję?

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *