Last active
March 12, 2018 06:22
-
-
Save 82p/19798f09b3b56a5e4ef13a568febca80 to your computer and use it in GitHub Desktop.
show wi-fi password in japanese powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$OutputEncoding='utf-8' | |
netsh wlan show profiles | %{ $_.Split(":")[1]} | ` | |
Where-Object{$_ -ne $null -and ( $_ -notmatch "^\s*$" ) } | ` | |
ForEach-Object{$_.trim()} | ` | |
ForEach-Object{ netsh wlan show profile name="$_" key=clear} | ` | |
Where-Object{ $_ -like "*主要なコンテンツ*" -or ( $_ -like "*SSID 名*" ) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment