see my blog post
- q4os trinity
- oracle linux 8
- solus budgie
- arch
- ghostbsd 19.04
- devuan ascii
- fedora silverblue 30
- pop_os!
- scientific linux 7
$newValue = New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization\" `
-Name 'GalleryLocations' -PropertyType MultiString -Value (
'https://raw.githubusercontent.com/sirredbeard/hyper-v-gallery/master/gallery.json',
'https://go.microsoft.com/fwlink/?linkid=851584')
$newValue.multistring
This adds the custom json from this repo alongside the existing Microsoft json in place.
- download add_gallery.ps1
- if you have not done so already, enable powershell scripts by opening powershell as admin and running:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
(answer yes) - make sure you are admin then cd to the folder with add_gallery.ps1 and run it:
.\add_gallery.ps1
- download rm_gallery.ps1
- if you have not done so already, enable powershell scripts by opening powershell as admin and running:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
(answer yes) - make sure you are admin then cd to the folder with rm_gallery.ps1 and run it:
.\add_gallery.ps1
this project was inspired by the following:
- "How to create a Custom Hyper-V Quick Create VM Gallery" by Thomas Maurer
- "Create a custom virtual machine gallery" by Sarah Cooley
- "Create your custom Quick Create VM gallery" by Lars Iwer