Skip to content

Instantly share code, notes, and snippets.

@ramazansancar
Created January 18, 2026 21:44
Show Gist options
  • Select an option

  • Save ramazansancar/8de2ec66ae24f2bc9bd3908fa9f2d643 to your computer and use it in GitHub Desktop.

Select an option

Save ramazansancar/8de2ec66ae24f2bc9bd3908fa9f2d643 to your computer and use it in GitHub Desktop.
Windows Powershell (1 line) Wifi Password List Command
(netsh wlan show profiles | Select-String "All User Profile" | % { ($_ -split ":")[1].Trim() }) | % { $p=$_; $pw=(netsh wlan show profile name="$p" key=clear | Select-String "Key Content"); "$p : " + ($(if($pw){ ($pw -split ":")[1].Trim() } else { "(Şifre yok / bulunamadı)" })) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment