In the world of audit and escalated accounts, you will need to have an overview of the privileged groups and members there, this could be a regulator requirement, too. This small script will show how to do this, and have just one file per check with all the groups you need. Of course, it could be applied to any set of groups, no need to limit yourself.
2021 Dec 21
Check Sensitive Groups Membership
By Andrii Dykhlin - ActiveDirectory