You've got to love the "Actions, Connect to Outlook" function in SharePoint lists... Handy for offline viewing of data, nicer GUI for detail entry, etc. Wouldn't it be nice to automate the connection of these things for a team or a project, or even a division or company?
You can force these connections via script... They are URL based using the "stssync://" protocol, which depends on the Office WSS services, a shared component of the desktop Office Suite. You can find the specific call to connect a library to Outlook (much easier to let SharePoint format it that create from scratch) on any of the AllItems.aspx default list pages for a library or list that is "Outlook Friendly", including Tasks, Calendars, and Document Libraries. View your page source (on an IE browser, as this is not available in other browsers) and looking for the following:
<ie:menuitem id="zz23_OfflineButton"
There is a lot more to this element, which is jammed on a very long line containing about 6 of these <ie:menuitem> elements. Specifically out of this element you want to get the "onMenuClick" action, which is a javascript call to "ExportHailStorm". You will need a copy of this function in your script as well, as this is the function that creates the stssync call. It is located in the init.js file, located in 12\templates\layouts\1033 folder (for US versions)...
The call to ExportHailStorm should look something like the code below, although I've added line breaks to make it readable.
ExportHailStorm(
'documents',
'http:\u002f\u002fsharepoint.company.com\u002fteam\u002fsitename\u002fsandbox',
'{ac5b6eaf-744a-4f73-a2e1-6e35b81f109e}',
'Sandbox',
'Test Files',
'\u002fteam\u002fsitename\u002fsandbox\u002fTest\u002520Files',
'','\u002fteam\u002fsitename\u002fsandbox\u002fTest Files');"
You can use these parameters with the MS code in init.js for ExportHailStorm to make your own script with multiple connections for Outlook. Each call to ExportHailStorm ends in a window.location.href call to the newly created link, which for a document library will look something like this:
stssync://sts/?ver=1.1&type=documents&cmd=add-folder&base-url=http:\u002f\u002fsharepoint.company.com\u002fteam\u002fsitename\u002fsandbox&list-url=\u002fteam\u002fsitename\u002fsandbox\u002fTest\u002520Files&guid={ac5b6eaf-744a-4f73-a2e1-6e35b81f109e}&list-name=Test\u520Files&site-name=Sandbox
These strings can be captured and put in to a simple vbscript or powershell script or even a bat file (run iexplore.exe <url>) and executed in a post setup command, a login script, or embedded in a web page on the intranet (ie, click here to connect standard outlook folders)...