Created
September 21, 2019 21:15
-
-
Save pseudosavant/e92a640aee5a68f7fe3b7832816c09fe to your computer and use it in GitHub Desktop.
Windows commands for backing up and restoring the stored Wi-Fi networks
This file contains hidden or 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
REM This command will export all wifi profiles into individual XML files | |
netsh wlan export profile key=clear |
This file contains hidden or 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
REM This command will iterate over the exported wifi XML files and import them | |
FORFILES /M *.xml /C "cmd /c netsh wlan add profile @path" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment