netsh wlan export profile name=”starbucks” folder=”C:\path\” key=clear
Above command line you have run on a reference machine.You will get the profile XML.
EX:- under C:\Path\Starbucks.XML
Below 2 lines create as a batchfile called “Wifi.cmd”
xcopy starbucks.xml C:\TEMP\ /Q /Y
netsh wlan add profile filename=”C:\TEMP\starbucks.xml”
Create A Folder and paste the “Wifi.cmd” and “Startbucks.XML”
Now create a SCCM package just like normal with startdard program and call Wifi.cmd in command line and distribute to DP’s.Then create the Advertisement and Deploy to Collections.