-
-
Save chadmark/862eae9a4a47d30bd1702f10e0e9bc07 to your computer and use it in GitHub Desktop.
Batch files for backing up and restoring Windows wifi 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
| @ECHO OFF | |
| REM This will export all wifi profiles to the current folder. Each profile has its own XML file. | |
| 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
| @ECHO OFF | |
| REM This will loop through all *.xml files in the current folder and import the profiles | |
| FORFILES /M *.xml /C "cmd /c netsh wlan add profile @path" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Saving for future use