如何使用Windows系統中,PowerShell ISE查看所有密碼。
1、如何打開Windows PowerShell ISE:
點擊開始菜單,在應用列表中找到PowerShell ISE應用,以管理員身份運行。
在ISE窗口中,點擊新建按鈕,輸入代碼行。
輸入完整的代碼,並進行保存。
$Profiles=@()
$Profiles +=(netsh wlan show profiles) | Select-String "\\:(.+)$" | Foreach{$_.Matches.Groups[1].Value.Trim()}
$Profiles | Foreach{$SSID = $_ ; (netsh wlan show profile name="$_" key=clear)} |
Select-String "Key Content\\W+\\:(.+)$" |
Foreach{$pass=$_.Matches.Groups[1].Value.Trim(); $_} |
Foreach{[PSCustomObject]@{Wireless_Network_Name=$SSID;Password=$pass}}
Format-Table -AutoSize
Start-Sleep -s 20
3、單擊右鍵選擇運行PowerShell(如運行無法得到結果,請點擊屬性,勾選以管理員身份運行即可)
最後得出結果。
以上教程僅供參考,我的分享就到此結束了,瞭解更多計算機知識,請記得關注我喲,您將會第一時間收到計算機相關知識諮詢,隨時查閱往期計算機知識圖文、專欄和視頻內容。
閱讀更多 IT互聯網愛好者 的文章
關鍵字: 密碼 Wi-Fi PowerShell