Click here to Skip to main content
15,867,308 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" 192.168.178.110 00-05-4b-04-d1-76 dynamic
Posted
Updated 30-Aug-21 7:43am
Comments
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