VBS: How to find IP addresses on specific subnet on machines with several IP's
Posted on 2004-10-04
I need some help working out how I can find particular IP addresses, belonging to a particular subnet, on machines with several IP addresses.
For example, I have a machine with 3 adaptors:
If I use GetIP it will find 192. I want to find 10.
I did think that I could base it on finding the first octet. 'If FirstOctet = "10" then'.... something like that, but I don't know exactly how.
How do I do that in VBS.
Thanks in advance...