In this recipe, we will create a virtual machine that will later be used as a template.
Creating a VM is straightforward. You can create a new virtual machine using an existing virtual hard disk, or you can create a machine with a blank virtual hard disk and then install the OS.
If you are creating a new VM from a blank VHD/VHDX disk, be prepared to link an ISO hosted in the VMM library or a CD/DVD drive with the OS media that is to be installed.
Carry out the following steps to create a virtual machine: