Hello Ondrej,
thanks for this useful article.
I´m stuck with the USB script in line 388.
Set-Content -Path $WinREWiFi -Value (Get-Content $WinREWiFi...
The script quits with the error message, that -Path is NULL.
I checked the USB script and in line 384 there is a script named WinREWiFi.ps1:
$WinREWiFi = Get-Item "$wimMountPath\Program Files\WindowsPowerShell\Modules\OSD*\Public\WinREWiFi.ps1
I mounted the modified boot.wim, which is on the USB stick and there is no such script in the specified path.
Do I have to change something in the USB script? Is there any change in OSDCloud so that there is no WinREWiFi.ps1 script anymore?
Thanks in advance and best regards, Mark