hi there can anyone help me with a script to assign an static ip address.
ideally a way i could set the subnet mask and default gateway and define the first three fields for the ip. eg 192.168.0 so prompt for the last field.
thanks
nick
hi there can anyone help me with a script to assign an static ip address.
ideally a way i could set the subnet mask and default gateway and define the first three fields for the ip. eg 192.168.0 so prompt for the last field.
thanks
nick
why would you need a script to apply a static IP address??

If you want IP prompted, just add an input box and use that var instead of setting it above.Code:netsh int ip set address name="Local Area Connection" source=static addr=1.1.1.1 mask=2.2.2.2 gateway=3.3.3.3
Steve
i have a batch of over 50 to staticly assign for licenseing for some software
"Autodata"
can't you use dhcp and mac address filter them?
would i not have to set res for each that way?
There are currently 1 users browsing this thread. (0 members and 1 guests)