Syntax
add profile filename= PathAndFileName [[interface=]InterfaceName] [[user=]{all|current}]
Parameters
Filename
Required. Specifies both the path to, and name of the XML file containing the profile data.
E aqui está o arquivo que você precisa criar para sua rede
<?xml version="1.0" encoding="US-ASCII"?>
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
<name>SampleWPA2PSK</name>
<SSIDConfig>
<SSID>
<name>SampleWPA2PSK</name>
</SSID>
</SSIDConfig>
<connectionType>ESS</connectionType>
<connectionMode>auto</connectionMode>
<autoSwitch>false</autoSwitch>
<MSM>
<security>
<authEncryption>
<authentication>WPA2PSK</authentication>
<encryption>AES</encryption>
<useOneX>false</useOneX>
</authEncryption>
</security>
</MSM>
</WLANProfile>
Preencha seus detalhes nos campos apropriados.