Because we may need to build Gen 1 Hyper-V VMs (which use Bios) and Gen 2 VMs (which use UEFI)
Because we may need to build Gen 1 Hyper-V VMs (which use Bios) and Gen 2 VMs (which use UEFI)