New version of Convert-WindowsImage.ps1 that support Gen2
So I noticed that the awesome Convert-WindowsImage.ps1 PowerShell script has been updated to version 6.3 and published during the Christmas holidays. The script is maintained by Microsoft Consulting Services and was originally created by Mike Kolitz.
I really like this script and have used it alot when creating new VM´s and I have been awaiting an update to support the Generation 2 VM´s with UEFI boot.
Here you can see that I have added the parameter -VHDPartitionStyle GPT to use for the generation 2 VM
You can find the script here.