netsh interface ip set address name="本地连接" source=static addr=192.168.100.100 mask=255.255.255.0 gateway=192.168.100.1 gwmetric=auto
netsh interface ip set address name="本地连接" source=dhcp
参考:
netsh interface ip set address name="本地连接" source=static addr=192.168.100.100 mask=255.255.255.0 gateway=192.168.100.1 gwmetric=auto
netsh interface ip set address name="本地连接" source=dhcp
参考: