Mark
I've been working on implementing this, but I believe I'm missing something. I've successfully created the boot drive, connected to wifi, and selected a task sequence. The task sequence needs to be attached to the default boot image, else there would be multiple boot images available through PXE and regular wired imaging stops working. Due to that, wifi clients end up downloading the default Endpoint Manager boot image and restart to that image before applying an OS, which fails because at that point it is not connected to wifi.
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