Microsoft Hyper-V can be enabled on desktops running Windows 8 or 10, or on servers running Windows Server 2008 or 2012.
- A user account with administrator permissions for the computer
- Enough available memory to run all the virtual machines you plan to run at the same time
- BIOS-level hardware virtualization support
Adding the Hyper-V role to your Windows installation
- Right-click on the Start menu.
- Click Search.
- In the search field, enter Turn windows features on or off. Depending on the system, the steps will vary.
- For Windows 8 or 10 systems:
- From the list of features, select Hyper-V.
- Click OK.
- Reboot the system.
- For Windows Server 2008 or 2012 systems:
- From the Add Roles and Features Wizard, click Next.
- Select Role-based or feature-based installation. Click Next.
- Select Select a server from the server pool. Click Next.
- Select Hyper-V.
- Click Add Features.
- Click Next.
- Click Next.
- Click Next.
Creating a Virtual Network Switch
- Open up Hyper-V Manager.
- Right-click on the name of the Hyper-V host and select Virtual Switch Manager.
- Under Virtual Switches, select New virtual network switch.
- Under What type of virtual switch do you want to create?, select External.
- Click Create Virtual Switch.
- Under Virtual Switch Properties, give the new switch a name, such as External VM Switch.
- Under Connection Type, ensure External Network has been selected.
- Select the physical network card to be paired with the new virtual switch. This is the network card physically connected to the network.
- Click Apply to create the virtual switch. You’ll most likely see the following message. Click Yes to continue.
- Click OK to close the Virtual Switch Manager window.
Creating a virtual machine with Hyper-V Manager
- In Hyper-V Manager, click Action > New > Virtual Machine to bring up the New Virtual Machine wizard.
- Review the Before You Begin content, then click Next.
- Give the virtual machine a name. (This is the name Hyper-V uses for the virtual machine, not the computer name given to the guest operating system deployed inside the virtual machine.)
- Choose a location where the virtual machine files will be stored, such as c:\virtualmachine. You can also accept the default location. Click Next.
- Select Generation 1 for the machine and click Next.
- Select 2048 MB for the Startup Memory value and leave Use Dynamic Memory selected. Click Next. (Memory is shared between a Hyper-V host and the virtual machine running on the host. The number of virtual machines that can run on a single host is partly dependent on available memory. A virtual machine can also be configured to use dynamic memory. When enabled, dynamic memory reclaims unused memory from the running virtual machine. This allows more virtual machines to run on the host. For more information on dynamic memory, see the Hyper-V Dynamic Memory Overview.)
- On the Configure Networking wizard, select a virtual switch for the virtual machine and click Next. For more information, see Creating a Virtual Switch.
- Give the virtual hard drive a name, select a location or keep the default, and specify a size. Click Next. (A virtual hard drive provides storage for a virtual machine similar to a physical hard drive. A virtual hard drive is required so you can install an operating system on the virtual machine.)
- On the Installation Options wizard, select Install an operating system from a bootable image file, then select an operating system .iso file. Click Next.
- When creating a virtual machine, you can configure some operating system installation options. The three options available are:
- Install an operating system later – makes no additional modification to the virtual machine.
- Install an operating system from a bootable image file – similar to inserting a CD into the physical CD-ROM drive of a physical computer. To configure this option, select an .iso image. This image will be mounted to the virtual CD-ROM drive of the virtual machine. The boot order of the virtual machine is changed to boot first from the CD-ROM drive.
- Install an operating system from a network-based installation server – not available unless you’ve connected the virtual machine to a network switch. In this configuration, the virtual machine attempts to boot from the network.
Follow the instructions on How to install the Auvik virtual appliance from a bash script.