Script Download: ImportLyncClientContacts.zip
http://gallery.technet.microsoft.com/scriptcenter/Import-Contacts-for-Lync-5fe0e671 

This script could be used to import custom groups and distribution groups for Microsoft Lync 2010.

In a real world, IT help desks are often required to add dozens of predefined custom groups or distribution groups for Lync clients in different department. It is a time-consuming task for adding predefined custom group or distribution group for each Lync client.

Here are some code snippets:

image

 

image image
image image

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery