OSDeploy / OSDBuilder

PowerShell Module
http://osdbuilder.com
MIT License
196 stars 57 forks source link

Null path in Initialize-OSDBuilder.ps1 19.11.12.0 #17

Closed UbZUN91qoLBmzn7EFKSX closed 4 years ago

UbZUN91qoLBmzn7EFKSX commented 4 years ago

C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\19.11.12.0\Public\Initialize-OSDBuilder.ps1: 41 Carácter: 45 JsonLocal = Join-Path $global:GetOSDBuilderHome 'OSDBui

OSDeploy commented 4 years ago

Can you test on version 19.11.12.1? Also, have you closed your PowerShell session and opened a new one after updating?

pschoepp commented 4 years ago

I'm also getting an error:

Join-Path : Cannot bind argument to parameter 'Path' because it is an empty string. At C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\19.11.12.1\Public\Initialize-OSDBuilder.ps1:41 char:45

andrewtchilds commented 4 years ago

Getting the same thing on a fresh install of 19.11.12.1

https://i.imgur.com/pqiSWY5.png

Quick workaround is to explicitly set an OSDBuilder path using the SetHome parameter in either Get-OSDBuilder or Initialize-OSDBuilder

andrewtchilds commented 4 years ago

Submitted pull request https://github.com/OSDeploy/OSDBuilder/pull/18 to fix.

UbZUN91qoLBmzn7EFKSX commented 4 years ago

Can you test on version 19.11.12.1? Also, have you closed your PowerShell session and opened a new one after updating?

The issue persist on version 19.11.12.1

Join-Path : No se puede enlazar el argumento al parámetro 'Path' porque es nulo. En C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\19.11.12.1\Public\New-OSDBuilderContentPack.ps1: 112 Carácter: 40

OSDeploy commented 4 years ago

Test today's release for the fix

UbZUN91qoLBmzn7EFKSX commented 4 years ago

It seems the fix is working correctly.