Greetings Experts. I need to add a domain group to the local admin group of 200+ computers. I found a script from Technet that works but only for one computer at a time. That is a pain. So I was hoping someone could tell me how to get the script to use a txt file of all the computer names and output which ones had an error. This is what I have so far:
strComputer = "atl-ws-01"
Set objAdmins = GetObject("WinNT://" & strComputer & "/Administrators")
Set objGroup = GetObject("WinNT://fabrikam/accounting")
I usually do the server and network support. But like I posted before, I want to learn more about scripting so bare with me please. Thanks for the help.