Hi @techspence,
First off, great script! I came across it after reading your blog post, and I’m really impressed.
I have one suggestion to make it more versatile across Active Directory (AD) environments with different language settings. Currently, the script uses hardcoded English group names, which may not work in non-English AD setups.
It would be fantastic if you could modify the script to use the Security Identifier (SID) for default admin groups, as these remain consistent regardless of language.
Thanks again for your work on this!
Best,
Barne