Getting an overview of local admin privileges in a domain

From time to time you want to find out who has local admin permissions in your domain... As it is typically a bad practice to give too much permissions, you really want to be able to find out easily. In that context, I created a small PowerShell script that allows me to retrieve this info relatively easy...

It produces a file output.txt that gives the overview. Computers that are not reachable, are marked as "offline"

You have to modify a bit, but after that, you can use it again and again! ;)

Enjoy

comments powered by Disqus