I've been working on Few automation scripts post sysprep deployment the site i am currently working on dont use DHCP due to public interaction with machines so DHCP is a no go, we use a static address for each machine
The premise is to make a CSV with all the static IP information. The script, when run on any particular PC, will read the hostname, match it to a listing in the file, pull the information, and use it to set the IP address, mask, gateway and DNS servers on that machine.
I just can't quite get it sorted out?
Here's a sample of the .csv file
computerName,IPAddress,SubnetMask,Gateway,Dns1,Dns2
TestMachine2,10.1.0.57,255.255.255.0,10.1.0.1,10.1.0.18,10.1.0.13,
any chance someone can give me a hand on a working .bat,.Vbs. or .ps1 that will implement this?