OSDBuilder icon indicating copy to clipboard operation
OSDBuilder copied to clipboard

Update Initialize-OSDBuilder.ps1

Open byteben opened this issue 5 years ago • 0 comments

Initialize-OSDBuilder doesn't work in my lab when using the default "C:\OSDBuilder" location I do not pass the variable $SetHome and thus "HKCU:\Software\OSDeploy" registry key is not populated. $global:GetOSDBuilderHome doesn't get set when using the $Null check against the registry value on line 31 If I make the change proposed, my issue resolves (Not tested on other labs yet, sorry)

byteben avatar Nov 13 '19 18:11 byteben