1. 連接
1)顯示本機保存的profiles,配置文件是以wifi的ssid命名的.
netsh wlan show profiles
2)用netsh wlan connect name=xxxxx 連接其中一個profile
3)斷開連接
netsh wlan disconnect
2. 幫助信息
3. 其他
其它常用的命令:
Netsh WLAN delete profile name="Profile_Name"
Netsh WLAN set profileparameter name="Profile_Name" connectionmode=manual
Netsh WLAN set profileparameter name=" Profile_Name" connectionmode=auto
列出配置文件:netsh wlan show profile
導出配置文件:netsh wlan export profile key=clear
刪除配置文件:netsh wlan delete profile name=""
添加配置文件:netsh wlan add profile filename=""
連接指定熱點:netsh wlan connect name="wifi name"
列出無線接口:netsh wlan show interface
開啟無線接口:netsh interface set interface "Interface Name" enabled
Netsh WLAN set profileparameter name="Profile_Name" connectionmode=manual
Netsh WLAN set profileparameter name=" Profile_Name" connectionmode=auto
列出配置文件:netsh wlan show profile
導出配置文件:netsh wlan export profile key=clear
刪除配置文件:netsh wlan delete profile name=""
添加配置文件:netsh wlan add profile filename=""
連接指定熱點:netsh wlan connect name="wifi name"
列出無線接口:netsh wlan show interface
開啟無線接口:netsh interface set interface "Interface Name" enabled
4, 參考鏈接
微軟官方指南:
Netsh Commands for Wireless Local Area Network (WLAN) in Windows Server 2008
https://technet.microsoft.com/en-us/library/cc755301(v=ws.10).aspx#bkmk_wlanConn
另一個很好的介紹網站:
How to manage wireless networks using Command Prompt in Windows 10 | Windows Central
https://www.windowscentral.com/how-manage-wireless-networks-using-command-prompt-windows-10
---------------------
作者:bingyu9875
來源:CSDN
原文:https://blog.csdn.net/bingyu9875/article/details/90438349
版權聲明:本文為博主原創文章,轉載請附上博文鏈接!
---------------------
作者:bingyu9875
來源:CSDN
原文:https://blog.csdn.net/bingyu9875/article/details/90438349
版權聲明:本文為博主原創文章,轉載請附上博文鏈接!