XP SP3 and later -
http://msdn.microsoft.com/en-us/library/ms706275(VS.85).aspx (Profile XML Schema)
XP SP2 - Structs -
http://msdn.microsoft.com/en-us/library/ms706600(VS.85).aspxFor scripting, the net shell will probably work for you...
netsh commands for WLAN -
http://technet.microsoft.com/en-us/library/cc755301.aspxyou should be able to do a 'dump' from a configured machine then use that file to configure others.