1、查看無線網絡配置文件
Netsh WLAN show profiles
2、查看WIFI密碼
Netsh WLAN profile name="WIFI的名稱" key=clear
3、導出無線網絡配置文件
Netsh WLAN export profile name="名稱" folder="路徑" key=clear
4、導入無線網絡配置文件
Netsh WLAN add profile filename="路徑+文件名"
如下爲一個無線網絡的配置文件實例
<?xml version="1.0"?>
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
<name>TESTWIFI</name>
<SSIDConfig>
<SSID>
<hex>5445535457494649</hex>
<name>TESTWIFI</name>
</SSID>
</SSIDConfig>
<connectionType>ESS</connectionType>
<connectionMode>auto</connectionMode>
<MSM>
<security>
<authEncryption>
<authentication>WPA2PSK</authentication>
<encryption>AES</encryption>
<useOneX>false</useOneX>
</authEncryption>
<sharedKey>
<keyType>passPhrase</keyType>
<protected>false</protected>
<keyMaterial>12345678</keyMaterial>
</sharedKey>
</security>
</MSM>
<MacRandomization xmlns="http://www.microsoft.com/networking/WLAN/profile/v3">
<enableRandomization>false</enableRandomization>
</MacRandomization>
</WLANProfile>