netsh interface ip set address "本地连接" static 192.168.0.2 255.255.255.0 192.168.0.1 1(配置IP,网关)
netsh interface ip set dns "本地连接" static 202.96.128.166(配置dns)

netsh interface ip add address "本地连接" mask=255.255.255.0 192.168.0.23(添加IP)

netsh interface ip set address name="本地连接" source=dhcp(IP改为dhcp)
netsh interface ip set dns name="本地连接" source=dhcp(dns改为dhcp)
1:对于经常奔与不同网络的维护人员,把这些命令做成bat文件,非常方便
2:对网络一窍不通的客户,根据他的需求做成bat,发给他,就大大减少了口舌功夫了。

批量“添加”IP工具网址 
另外还有个萝卜家园的“IP快速配置工具” http://115.com/file/dpaxr0s0#