netsh dump
The netsh dump command generates a script that saves the system's current network settings. Windows commands reference
On Windows
Windows
The netsh dump command generates a script that saves the system's current network settings. By running this command, you produce a script that can be used to recreate the same settings later or on a different device.
netsh dump
To export your network configuration settings to a file named "netsh_config.txt" and save it in C:\NetConfig, run the following command
netsh dump > "C:\NetConfig\netsh_config.txt"IdentifydumpExports the network configuration details and settings to your device.