How do I get a windows script to pull the current DHCP IP address and check it against a range? This is my first time trying to do a script like this and I am lost.
the way the script should function is
get "current IP address"
IF "current IP address" is equal to the range "192.168.1.1 to 192.168.1.255"
print "Your IP address is "current IP address" YOUR VPN WILL NOT WORK"
else
print "Your IP address is "current IP address" THE VPN WILL WORK.
And the window that displays the text should stay open until it is closed manually
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.