网卡快速配置IP脚本

in with 0 comment
@echo off
netsh interface Ipv4 set Address name="WLAN" source=dhcp

@echo off
netsh interface Ipv4 set dns name="WLAN" source=dhcp

@echo off
netsh interface Ipv4 set Address name="WLAN" static 192.168.1.101 255.255.255.0 192.168.1.1

@echo off
netsh interface Ipv4 set dns name="WLAN" static 8.8.8.8

配置bat脚本

Responses