i run a lab/network and to troubleshoot i'm oftentimes changing ip addresses. it would be nice to write a quick script that'll change my ipaddress netmask etc without having to click through a bunch ...
set /p type=Choose configuration type [DHCP (1), static (2)]: netsh interface ip set address !adapter! dhcp netsh interface ip set dnsservers !adapter! dhcp ...