Link: http://gallery.technet.microsoft.com/LyncLabOnline-Automated-024ec331?goback=.nmp_*1_*1_*1_*1_*1_*1_*1_*1_*1

This script installs a complete Lync Server environment from start to finish with Server 2012 DC, DNS, DHCP, CA, SQL Server 2012, Exchange Server 2013 & Lync Server 2013 all on Windows Server 2012 vms, during the course of 2-5 hours.

This script installs a complete Lync Server environment from start to finish with Server 2012 DC, DNS, DHCP, CA, SQL Server 2012, Exchange Server 2013 & Lync Server 2013 all on Windows Server 2012 vms, during the course of 2-5 hours depending on the hardware and timers that it is set in the StartLyncLabOnline.ps1 script.
The Hyper-V host machine MUST be a Windows Server 2012.