Report hardware from the BIOS check, so every WinPE path is covered
The hardware report went out from winpe-status-push.ps1 on the enrollment share (Y:), but startnet.cmd never maps Y: on the gea-standard / gea-engineer path (choices 1/2 go purpose -> tenant -> enroll_staged), so those builds never reported. The same gap means neither the status push nor preflight.ps1's driver check has ever run for standard/engineer images. The BIOS share is mapped by every WinPE boot before the menu, and check-bios.cmd lives on it, so it now calls hardware-report.ps1 from the same folder (best effort, output discarded). winpe-status-push.ps1 goes back to status only, so shopfloor bays are not counted twice. The playbook deploys hardware-report.ps1 with the other BIOS files.
This commit is contained in:
@@ -6,6 +6,11 @@ set "BIOSDIR=%~dp0"
|
||||
set "FLASH=%BIOSDIR%Flash64W.exe"
|
||||
set "MANIFEST=%BIOSDIR%models.txt"
|
||||
|
||||
REM --- Report this machine to the PXE webapp (Hardware Coverage) ---
|
||||
REM Every WinPE boot maps this share, whatever image is picked next, so this
|
||||
REM is the one place that sees standard/engineer builds too. Best effort.
|
||||
if exist "%BIOSDIR%hardware-report.ps1" powershell -NoProfile -ExecutionPolicy Bypass -File "%BIOSDIR%hardware-report.ps1" >NUL 2>&1
|
||||
|
||||
if exist "%FLASH%" goto :flash_ok
|
||||
echo Flash64W.exe not found, skipping BIOS check.
|
||||
set "BIOS_STATUS=Skipped (Flash64W.exe missing)"
|
||||
|
||||
Reference in New Issue
Block a user