查看已连接过的WiFi

1
netsh wlan show profile

备份指定WiFi

1
netsh wlan export profile [WiFi名字] folder=C:\

备份所以WiFi

1
netsh wlan export profile folder=C:\

备份的文件保存在C:\WLAN-[WiFi名字].xml

新电脑导入WiFi配置文件,只需要将文件放入C盘下,然后运行

1
netsh wlan add profile filename="C:\WLAN-[WiFi名字].xml"

列出可用WiFi

1
netsh wlan show profiles

连接指定WiFi

1
netsh wlan connect name="WiFi名字"

这样,就可以在新电脑上使用备份的WiFi配置文件一键连接到WiFi网络了