Click here to Skip to main content
15,668,842 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am trying to check the IP address of a MacAdress on a network, I want to create a vbscript for it.

I don't know where to start, any suggestions?

In cmd I can get it this way:

What I have tried:

C:\Users\geral>arp -a | find "00-05-4b-04-d1-76" 00-05-4b-04-d1-76 dynamic
Updated 30-Aug-21 7:43am
Richard MacCutchan 30-Aug-21 12:48pm    
Type the "arp -a" at a command prompt so you can see the format of the returned output. You can then build your script from that.

1 solution

You can run the ARP command line, and get the returned text and parse it for the result, all from within the VBScript.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900