This tutorial will enable you to create or migrate an elastix asterisk voip server on a HyperV virtual machine.
This uses the latest stable version of elastix (1.6 at time of writing), but I expect the v2 beta should work with the same methods.
Download the Elastix 1.6 ISO from http://www.elastix.org/en/downloads.html
Create a new virtual machine in hyperv, add the iso in the DVD.
Using the Hyper-V Manager, before you boot also add a Legacy Network Adapter and a SCSI Controller with a Hard Drive attached to it
Start the virtual machine and run through the Elastix install process.
Download the Hyper V integration components from http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551
Run the exe and extract the ISO.
Mount the ISO in HyperV manager
You need to copy the code off the CDROM ISO image.
Using the