Great WOL script

I have been applying XP SP3 and installing Windows Management framework in the computer lab at my daughter’s school. I have been attempting to do all of it via remote desktop. It doesn’t always work out. I knew that WOL had been enabled for all those PC’s. So, I decided I was going to write a WOL script last week.

A few seconds of using Google netted me a cool script by Cosmin Dumitru on poshcode.org.

http://poshcode.org/672

This is a fantastic script. All you need a CSV file with two columns. One labeled “computername” and the other “mac”. Save that file off as a CSV file named “workstations.txt” and store it in the same folder you save this WOL script. Works like a charm!