How to enable Hyper-V server in Windows Server 2012

Windows Server 2012 - Server Manager
1. After you install the Windows Server 2012. By default, the Server Manager will pop-up after you boot the server up. In the Server Manager, click the “Add roles and features” link.
Add Roles and Features Wizard
2. That will bring up the “Add Roles and Features Wizard” window. Just click “Next” to continue.
Installation type
3. In the next screen, choose Role-based feature-based installation and click “Next”.
Set destination server
4. Choose “Select a server from the server pool”, then highlight your server and click “Next”.
Locate HyperV server Roles
5. In the “Select server roles” screen, locate “Hyper-V” from the Roles list and check the box next to it.
Add Hyper-V management tools
6. To add Hyper-V, the system will also ask you to install the Administration tools for Hyper-V. Click “Add Features” to continue.
Select Server Roles
7. Once Hyper-V is selected in the “Select server roles” screen, click “Next” to continue.
Select more features
8. If you like to add more roles or features, you can do so now. Otherwise, just click “Next”.
Hyper-V configuration
9. In the next few screens, you will need to configure the Hyper-V. Click “Next” to start Hyper-V configuration.
Select Network adapter for Virtual Switch
10. Select the Network interface you like to bind to a Virtual Switch you are going to create. In order for the Virtual Machines to connect to other network (such as the internet), you need to create a Virtual Switch with a physical Network Interface attached to it. In this example, I select “Ethernet2” and click “Next”.
Hyper-V Live Migration
11. In the next screen, since I am not planning to use Live Migration in this setup, so I just click “Next”.
Hyper-V default directories
12. Now, you need to define the default directories for the virtual hard disks as well as the virtual machine configuration. To accept the default settings, just click “Next”, otherwise, change the directory before you click the “Next” button.
Hyper-V confirm install
13. You are at the confirmation screen. Click “Install” to start the installation process. You can check the box next to “Restart the destination server automatically if required” if you like the server to reboot after the installation.
Hyper-V finish install and reboot
14. Once the installation is done, you can click to “Close” button to exit the installer. If you check the reboot box in the previous screen, the server will reboot by itself. If you did not check the box, you will need to reboot the server manually to finish the installation.
Hyper-V Manager is ready
15. Once the server is rebooted, you can access the Hyper-V Manager from the Metro interface of the server.