How many Domain Admins are there in my ActiveDirectory domain?
Have you ever asked yourself this question? If you haven’t, you should … or you landed in the wrong blog!!
If you have, there is a very usefull script to have in your utility belt. And before anyone asks, no, this is not my code, but it is available in Technet and there is no use in re-inventing the wheel.
I’m attaching a copy of it here, but do go onto https://gallery.technet.microsoft.com/scriptcenter/List-Membership-In-bff89703 and find out more.
Now let’s have some fun and start cleaning those priviledged accounts.