netsh wlan 提供豐富命令列介面管理無線網路,適用於 Windows 7 / Server 2008 R2 以上版本。
show createalluserprofile:是否允許建立所有使用者設定檔。show allowexplicitcreds:使用者未登入時,是否允許使用儲存憑證進行 802.1X 驗證。show onlyusegpprofilesforallowednetworks:群組原則無線設定檔何時被允許。set allowexplicitcreds allow=yes|no:設定上述憑證使用行為。set blockperiod <分鐘>:登入失敗後封鎖重試分鐘數。set profiletype name=<名稱> profiletype=allusers|currentuser:指定設定檔類型。show networks:列出偵測到的無線網路(SSID、驗證、加密)。connect ssid=<名稱> name=<設定檔> interface=<介面>:連線至指定網路。export profile name=<名稱> folder=<路徑> interface=<介面>:將設定檔匯出為 XML 備份/遷移。add profile filename=<XML路徑> interface=<介面> user=all|current:從 XML 匯入設定檔。reportissues:產生無線連線診斷報告(儲於 C:\Windows\Tracing)。善用 netsh wlan 可將無線網路部署腳本化、自動化,大幅提升企業環境管理效率。