I am looking to run a batch file on about 100 Server 2003 machines. One task is to change a known static ip address of an unknown nic. There are at least two other nics present on these machines and the interface names are inconsistent.
Here's the relevant portion of my batch file:
netsh int ip set address name = "%LAN%" source = static addr = %ipAdrs% mask = %subMsk%
How can I get %LAN%?