From 702311257af7a58990572a633ff1225f6f04eeea Mon Sep 17 00:00:00 2001 From: tekuadam <85929729+tekuadam@users.noreply.github.com> Date: Mon, 3 Mar 2025 21:21:27 +1100 Subject: [PATCH] Update Start-OSDCloudGUI.ps1 Rectify inability to override ComputerProduct and DriverPackName in Start-OSDCloudGUI.json --- Public/Start-OSDCloudGUI.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Public/Start-OSDCloudGUI.ps1 b/Public/Start-OSDCloudGUI.ps1 index 577356c9..f23a23d0 100644 --- a/Public/Start-OSDCloudGUI.ps1 +++ b/Public/Start-OSDCloudGUI.ps1 @@ -141,8 +141,8 @@ # New logic added to Get-OSDCloudDriverPack # This should match the proper OS Version ReleaseID #================================================ - $Global:OSDCloudGUI.DriverPack = Get-OSDCloudDriverPack -Product $ComputerProduct -OSVersion $Global:OSDCloudGUI.OSVersion -OSReleaseID $Global:OSDCloudGUI.OSReleaseID - if ($Global:OSDCloudGUI.DriverPack) { + $Global:OSDCloudGUI.DriverPack = Get-OSDCloudDriverPack -Product $Global:OSDCloudGUI.ComputerProduct -OSVersion $Global:OSDCloudGUI.OSVersion -OSReleaseID $Global:OSDCloudGUI.OSReleaseID + if ($Global:OSDCloudGUI.DriverPack -and $null -ne $Global:OSDCloudGUI.DriverPackName) { $Global:OSDCloudGUI.DriverPackName = $Global:OSDCloudGUI.DriverPack.Name } #=================================================