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 ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する