Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

see wifi passwords with powershell

(netsh wlan show profiles) | Select-String ":(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)}  | Select-String "Key ContentW+:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ PROFILE_NAME=$name;PASSWORD=$pass }} | Format-Table -AutoSize
Source by www.itechtics.com #
 
PREVIOUS NEXT
Tagged: #wifi #passwords #powershell
ADD COMMENT
Topic
Name
9+8 =