﻿-------
mkdir c:\temp\profiles
rem note: copy line below as-is to run outside the batch...
For /F "Tokens=1,* Delims=:" %G In ('%__AppDir__%netsh.exe WLAN Show Profiles 2^> NUL ^| %__AppDir__%findstr.exe /RC:" : [^ ]"') Do @For /F "Tokens=*" %I In ("%H") Do @%__AppDir__%netsh.exe WLAN Export Profile Name="%I" Key=clear Folder=C:\temp\profiles
------
netsh wlan show profile name=%1 key=clear | find "Key Content"
------
https://doccolabs.com/toolbox/get_wifi_info.py
------
