A Windows adoption of code Written by michael_stankiewicz (See above)
//any comments welcome 1samsj58 at solent dot ac dot uk
tested on windows XP SP1 and windows 98 SE both contained 4 ARP table entrees. I wanted to write it my self to completely under stand how it worked, I believe that through only retrieving one line of the ARP table this has reduced the complexity of the script and reduced the work of sorting a little, after viewing the output of converted script that removed extra spaces it became apparent the MAC address was always followed the IP address by one element. As you can see this is how i retrieved the MAC address from within the array using a loop to match the IP address and then obtain the next element. Although I do believe that using the regular expression would be better general practice it worked fine for me.
**Hidden Content: To see this hidden content your post count must be 5 or greater.**