Bulk IP configuration using CSV input
问题 I have a CSV file with the following values for each machine I want to remotely reconfigure using static IP name,nic,ip,mask,defaultgw I was hoping to be able to reconfigure the IPs for each listed but if I have more than one machine listed the script gets stuck. This is because at the end of the first loop iteration, unless I manually do an ipconfig /flushdns on the server the script is running from, I will lose connection to the server being configured and the script just hangs leaving the