Here is an example how to set the static IP address if the name is known:

if /i %computername% EQU SERVER “”netsh interface ipv4 set address “Local Area Connection” static


Can’t get the solution to work? Contact me and let me do the trick.






No responses yet

Leave a Reply

Your email address will not be published. Required fields are marked *

6 + 2 =