Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Initialize-OSDBuilder.ps1 #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

byteben
Copy link

@byteben byteben commented Nov 13, 2019

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)

Initialize-OSDBuilder doesn't work in my lab when using the default "C:\OSDBuilder" location i.e. $SetHome is not used and thus "HKCU:\Software\OSDeploy" registry key is not populated.
$global:GetOSDBuilderHome doesn't get set when using the $Null check on line 31
If I make the change proposed, my issue resolves (Not tested on other labs yet, sorry)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant