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

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

 

posted @ 2023-05-24 15:02  很多无尾熊  阅读(163)  评论(0)    收藏  举报
本站已运行[ ]
正在加载今日诗词....