Script to search local admin group

Hi, I am having a hard time finding the right script to do what I need. I am looking for one that will search all servers in the domain or pull from a server list in a txt file to list all members of the local Administrators group and Remote Desktop Users group. Does anyone have a script that will do this? And export it to a excel file?

Thanks in advance!


September 4th, 2015 3:18pm

As already noted in another of your question threads:

https://social.technet.microsoft.com/Forums/scriptcenter/en-US/1482c767-3d6d-4518-b856-ef173e6714f1/

This is not the right place to post a script request. This forum is for asking scripting questions rather than asking someone to write a script for you.

Also, I remember a similar discussion from an earlier thread:

https://social.technet.microsoft.com/Forums/scriptcenter/en-US/747cb791-684e-4a92-9608-68559ca9ea9f/

You don't need to search all servers in the domain and hit each machine to retrieve group memberships. Just define in group policy and you have it 1) configured by policy and 2) a built-in r

Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 3:54pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics