windows使用netsh设置静态&动态ip的脚本
摘要:使用netsh设置静态ip地址:@echooffnetshinterfaceipsetaddress"本地连接"static172.24.8...
使用netsh设置静态ip地址:
@echo off
netsh interface ip set address "本地连接" static 172.24.83.239 255.255.255.0 172.24.83.247
netsh interface ip set dns "本地连接" 172.24.102.110
netsh interface ip add dns "本地连接" 172.24.102.110 index=2
pause
使用netsh设置动态ip地址:
@echo off
netsh interface ip set address name="本地连接" source=dhcp
netsh interface ip set dns name="本地连接" source=dhcp
pause
【windows使用netsh设置静态&动态ip的脚本】相关文章:
★ win7升级win10后设置打不开显示个性化出错怎么办?
★ windows7系统下给WORD2010设置打开密码的方法
★ Win10系统ie浏览器提示已停止工作怎么办 Win10系统ie11崩溃两种有效简单的解决方法
★ Win10系统下NVMe硬盘状态检测错误怎么办?Win10下NVMe硬盘状态检测错误的解决方法
★ win7下使用PS处理图片时出现图片打不开问题的解决方法
★ Win10如何卸载电影和电视?Win10卸载电影和电视的方法教程