The Script saves and Current Network Configuration as a .dat file in specific or given location under the specified name.
Folder path should be valid and already exist
File name can be anything but please keep the extension as .dat.
You can run as System User
Please modify if you would like to use specific path, dat_file_path=r"C:\Users\Administrator\Desktop\MyNetworkCFG.dat"