Windows命令行Cmd下网络及账户设置更改
来自DeerGrove Wiki
- netsh interface ip set dns "本地连接" dhcp
- netsh interface ip set dns "本地连接" static 192.168.x.xxx
- ipconfig /flushdns,刷新本地的DNS缓存数据
- netsh interface set interface "xxxxxx" enabled/disable
- ipconfig /release 本地连接 关闭网卡
- ipconfig /renew 本地连接 启动网卡