You might have seen that Hyper-V in Windows 10 got a new Quick Create Feature. This will open up a virtual machine gallery, which allows you to download different virtual machine images, like Windows 10 or Ubuntu. For example, the default image is a Windows 10 dev VM, which enables developers to quickly spin up a development environment with Visual Studio. But you can also add your own virtual machine templates in the Hyper-V VM Gallery.
To do that, you have to do three things:
- Create a virtual machine image (a .iso or compatible .vhdx file)
- Create a gallery source (.json file) and create a gallery item (configuration inside the .json file)
- Add the gallery source to the VM Gallery UI