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 1.1.1.1 255.255.254.0 1.1.1.1

 

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

 

 

 

Categories:

Tags:

No responses yet

Leave a Reply

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

+ 42 = 49