I have been taking apart some scripts to begin how to understand them. I have all the pieces I need but I cant seem to put them together. I need to retreive the members of the local administrators group on all the workstations in my domain. I have created a text file called workstations.dat that contains a list of every single workstation in my domain. I think I want to use the tool called local from the 2000 resource kit. I know it works because I can from a command prompt get the information i want but for only one machine at a time. What I am trying to accomplish is for the script to read my dat file and run the tool against the names in that file and then output to a text or excel, or html page.