Hello kix gurus, working on another project at work but I cannot get this array correct.
What I want to do is I have 2 arrays one for the IP address and one for the MAC address of the PCs I am going to wake-up on command. I know I know some of you guys want me to use WMI but I have tried that and it is very slow compare to this shell command. So I am going with this hybrid setup.

Okay my issue is I not sure how I can move thru the 2 lists of arrays
and take IP and MAC and then move to the next (parallel array type).
I know what I am doing below is not correct but I dont know how to
work this I believe you call it a parallel array setup in 2 dimensions corrrect guys? Thanks if you can give me some guidance I would buy you a beer or tickets to walt disney world....okay I cant do that but it sounds nice huh? ahha Thank guys


 Code:


Dim $IP_8TH
Dim $MAC_8TH

 $IP_8TH = "192.168.2.85", 
$MAC_8TH = "0021851165F4",

;8th Street (ip for routing)
sleep 5
For Each $IP in $IP_4th
    For Each $MAC in $MAC_4TH
 	Shell "cmd.exe /c wol.exe $IP $MAC"
    Next
Next



_________________________
Robert
A+, CCNA, MCP
Network Admin
Credit Union Wisconsin