From 4e61b0518313c853e70423ddf9648e9a8a50612d Mon Sep 17 00:00:00 2001 From: Jason Thatcher Date: Tue, 24 May 2022 09:40:41 +1000 Subject: [PATCH] Pick the first version available --- powershell/create_custom_esxi_iso.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powershell/create_custom_esxi_iso.ps1 b/powershell/create_custom_esxi_iso.ps1 index 4003b20..2d3d1cf 100644 --- a/powershell/create_custom_esxi_iso.ps1 +++ b/powershell/create_custom_esxi_iso.ps1 @@ -22,7 +22,7 @@ if($PSVersionTable.PSEdition -ne "Desktop") { } Write-Host -Foreground cyan "Processing ESXi Base Image $ESXIDriver ..." -$ESXIBaseImageVersion = (Get-DepotBaseImages -Depot $ESXIBaseImagePath).Version +$ESXIBaseImageVersion = (Get-DepotBaseImages -Depot $ESXIBaseImagePath)[0].Version # Build list of Components from ESXi Drivers $components = @{}