21 Dec 2011 16:27
Add Domain users to multiple machines / Read info from text file
I am using the batch file below, to add 30 domain users to the administrators group of 30 machines. I would really like it though if I could make the batch file read from a text file that will list the domain user names and the machine names, instead of having to add these names in the batch file manually. Help? Thanks set machineuser= set machinepass= set domainfull= set domainsmall= set domainuser001= set domainuser002= set domainuser003= set domainuser004= set domainuser005= set domainuser006= set domainuser007= set domainuser008= set domainuser009= set domainuser010= set domainuser011= set domainuser012= set domainuser013= set domainuser014= set domainuser015= set domainuser016= set domainuser017=(Continue reading)
RSS Feed