windows 通过cmd命令连接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
 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值