Created
September 4, 2018 09:37
-
-
Save mansouryaacoubi/81419011fcf8ea91140ccaa9747adde7 to your computer and use it in GitHub Desktop.
Batch to get WiFi Key
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
@echo off | |
set /p SSID="Please enter WiFi SSID: " | |
set keyfile=%SSID%_key.txt | |
set | |
echo Retrieving security key for %SSID%... | |
netsh WLAN show profile name="%SSID%" key=clear >%keyfile% | |
echo Security key was successfully saved in %keyfile%. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment