How do I programmatically change the IP address of a workstation?
1 answer
Ok if you don't mind just doing a normal batch script then you can use the netsh tool
It's been a while, but I believe the command looks something like this:
netsh interface ipv4 set address name="Local Area Connection" source=static address=<ip address> mask=<netmask> gateway=<router ip address>
As far as vbscript and such I have no idea, but I'm sure it is possible.
+5
source to share