Looking for a way to set network setting on multiple computers with different IPs without having to manually change the IP address in the batch file for the next computer so they dont conflit,
so basicly the 192.168.0.1 would become 192.168.0.2 after the file was run...
netsh interface ip set address "Local Area Connection" static 192.168.0.1 255.255.255.255 12.12.12.12
netsh interface ip set dns "Local Area Connection" static 192.168.0.2
netsh interface ip add dns "Local Area Connection" 192.168.0.3
netsh interface ip set winns "Local Area Connection" static 192.168.0.4
( fake adresses obvs)
any help or recomendations?
ask if you need more info!
DHCP not ideal for what I'm needing.
so basicly the 192.168.0.1 would become 192.168.0.2 after the file was run...
netsh interface ip set address "Local Area Connection" static 192.168.0.1 255.255.255.255 12.12.12.12
netsh interface ip set dns "Local Area Connection" static 192.168.0.2
netsh interface ip add dns "Local Area Connection" 192.168.0.3
netsh interface ip set winns "Local Area Connection" static 192.168.0.4
( fake adresses obvs)
any help or recomendations?
ask if you need more info!
DHCP not ideal for what I'm needing.