Exporting Profiles:
netsh wlan export profile folder=”Z:\wifi”
Importing Profiles:
netsh wlan add profile filename=”Wireless Network Connection 123456.xml”
Importing Profiles (batch):
for %%f in (wifi\*) do (
netsh wlan add profile filename=”wifi\%%~nf.xml”
)
Source: Spiceworks Community