This post can help Lync and Exchange users and the same concept can be used to any other attribute as well.
Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to set office telephone numbers for all users in an organizational unit.
Read more at source: http://blogs.technet.com/b/heyscriptingguy/archive/2013/07/17/set-telephone-numbers-for-all-users-in-an-ou-via-powershell.aspx
Cheers,
Anderson Patricio
http://www.msexchange.org/blogs/patricio/
http://www.andersonpatricio.ca
Twitter: @apatricio