Hello All!
Is there a script out there that can query all computer names from active directory and then query those machines for %username% in the local administrators group?
I would like to have a csv that would have a list of all usernames and whether or not they are in the local administrators group on the machine.
I could export a list of computers to query from SCCM, but it would be nice to be able to just have the query pull the computer and user data from somewhere...AD, or even SCCM DB
Thank you for your help.
Anthony Good
SCCM Administrator