How to create UVs for a number of duplicated objects
You could pick one object as a template and setup the material and texture.

After that select all objects which should get the material settings assigned and add the template as last object to you selected object (must be the active object).



Ctrl-L Opens the Make Links Popup



Select Materials, after that open the Popup again and select Transfer UV-Maps.



Video Tutorial on Make Links
Documentation