All Forums >> [Scripting] >> WSH & Client Side VBScript >> RE: Pull information from a file based on search criteria Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
welcome back! We don't need the InputBox, if and only if we can use nIP resp. sIP or use a persistent (save to disk between runs) counter. I'd prefer the first alternative. What do you think?
help me get this right! If we use nIP (our counter to loop over the desired subnet IPs) and run the script for different subnets, we would risk duplicate MACs (100.10.9.25 and 100.10.12.25 would both generate a MAC 000000000025). If we use the full sIP or at least the last to octets, we'd be on the save side. An addtional gain would be, that you could predict the MAC, when you know the IP.
If you agree - could you post your current doTheRealWork() function? It would help me to synchronize.