zoukankan      html  css  js  c++  java
  • windows 通过cmd命令(netsh wlan命令)连接wifi

     

    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
    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
    版权声明:本文为博主原创文章,转载请附上博文链接!
  • 相关阅读:
    04.安全-TLS1.2连接过程
    02.安全-证书和CA
    01.安全-加密
    00.https基本
    00.二叉树基本
    二分查找01.基本二本查找及其变种
    01.数据结构资料,时间复杂度空间复杂度(数据结构算法基本)
    从 CentOS 8 平滑迁移至 CentOS Stream
    identityserver使用记录
    vs2019 使用私钥进行连接时出错 ssh连接报错
  • 原文地址:https://www.cnblogs.com/moonbaby/p/11188135.html
Copyright © 2011-2022 走看看