JustinCampbell.me

I work with the awesome team at Cramer Dev.
In my free time I'm a Web Developer and gamer.
Sometimes I take pictures of food or go snowboarding.
Résumé | GitHub | @JustinCampbell

Threaded Windows Batch Scripts

almost 2 years ago

Sometimes you need to do something to a lot of computers at once, such as deploying a file or registry setting, or checking if a file exists or that a registry item is set correctly. If you’re using batch scripts, they can be a little slow when working with a large number of hosts.

On my 4-year-old Pentium 4 this does about 10 hosts/second, as opposed to 3 hosts/second when running them in serial.