一行代码查看电脑连接过且保存的 WiFi 密码

2023-05-24
2023-05-24
1 min read
Hits

  上班摸鱼在吾爱看到了这个帖《使用PowerShell查看本机连接过并且已保存的WiFi密码(仅1行代码,全网最简)》感觉很 nice 就赶紧记录了下来。

吾爱原文地址:使用PowerShell查看本机连接过并且已保存的WiFi密码(仅1行代码,全网最简)

foreach ($item in (netsh wlan show profile|where{ $_ -match "文件"})){netsh wlan show profile name=($item -replace "    所有用户配置文件 : ","") key=clear|where{ $_ -match "    名称|关键内容"}}
Avatar

Hui.Ke

❤ Cyber Security | Safety is a priority.