OSDBuilder
OSDBuilder copied to clipboard
Different behavior Powershell 5.1 vs Core 7.1.5
OSDBuilder 21.10.14.1 | OSD 21.11.9.1
Same Image and same command, one hand you will get an error and updates are installing, where on the other hand, updates are not installed and skipped. WINRE is only mentioned on 7,1.
Powershell 7.1.5: `2021-11-10-123607 MEDIA: Copy Operating System to I:\Osdbuilder2021\OSMedia\build2111101235 2021-11-10-123612 WinPE: Mount WinPE.wim to I:\Osdbuilder2021\Mount\winpe2111101236 2021-11-10-123618 WinPE: Mount WinRE.wim to I:\Osdbuilder2021\Mount\winre2111101236 2021-11-10-123623 WinPE: Mount WinSE.wim to I:\Osdbuilder2021\Mount\setup2111101236
2021-11-10-123629 WinPE: (SSU) Servicing Stack Update INSTALLED 2021-08 Servicing Stack Update for Windows Server 2019 for x64-based Systems (KB5005112) - windows10.0-kb5005112-x64_99919606d4632b1f4b9bd4bff48a363739776047.cab 2021-11-10-123630 WinRE: (SSU) Servicing Stack Update INSTALLED 2021-08 Servicing Stack Update for Windows Server 2019 for x64-based Systems (KB5005112) - windows10.0-kb5005112-x64_99919606d4632b1f4b9bd4bff48a363739776047.cab 2021-11-10-123630 WinSE: (SSU) Servicing Stack Update INSTALLED 2021-08 Servicing Stack Update for Windows Server 2019 for x64-based Systems (KB5005112) - windows10.0-kb5005112-x64_99919606d4632b1f4b9bd4bff48a363739776047.cab 2021-11-10-123630 WinPE: (LCU) Latest Cumulative Update INSTALLING 2021-09 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5005568) - windows10.0-kb5005568-x64_8bf5f955f8221e5d1df616ffa9a3d6cb28e2fc5d.cab C:\Users\fladmin\AppData\Local\Temp\SSU\SSU-17763.2170-x64.cab Add-WindowsPackage: C:\Users\fladmin\Documents\PowerShell\Modules\OSD\21.9.21.1\Public\DISM\Add-WindowsPackageSSU.ps1:94 Line | 94 | Add-WindowsPackage -PackagePath $_.FullName -Path $Path - … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Fehler: Es wurde kein Vorgang ausgeführt. Stellen Sie sicher, dass DISM ordnungsgemäß im Abbild installiert ist, und wiederholen Sie dann den Vorgang.
2021-11-10-124032 WinRE: (LCU) Latest Cumulative Update INSTALLING 2021-09 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5005568) - windows10.0-kb5005568-x64_8bf5f955f8221e5d1df616ffa9a3d6cb28e2fc5d.cab 2021-11-10-124434 WinSE: (LCU) Latest Cumulative Update INSTALLING 2021-09 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5005568) - windows10.0-kb5005568-x64_8bf5f955f8221e5d1df616ffa9a3d6cb28e2fc5d.cab 2021-11-10-124829 MEDIA: Update Media Sources with WinSE.wim 2021-11-10-124829 WinPE: Export WinPE Package Inventory to I:\Osdbuilder2021\OSMedia\build2111101235\WinPE\info 2021-11-10-124838 WinPE: Dismount-WimsPE`
Powershell 5.1:
`2021-11-10-132222 MEDIA: Copy Operating System to I:\Osdbuilder2021\OSMedia\build2111100122
2021-11-10-132228 WinPE: Mount WinPE.wim to I:\Osdbuilder2021\Mount\winpe2111100122
2021-11-10-132234 WinPE: Mount WinRE.wim to I:\Osdbuilder2021\Mount\winre2111100122
2021-11-10-132240 WinPE: Mount WinSE.wim to I:\Osdbuilder2021\Mount\setup2111100122
2021-11-10-132248 WinPE: (SSU) Servicing Stack Update WARNUNG: Skipping WinPE SSU Update for this version of Windows 2021-11-10-132248 WinPE: (LCU) Latest Cumulative Update WARNUNG: Skipping WinPE LCU Update for this version of Windows
2021-11-10-132248 MEDIA: Update Media Sources with WinSE.wim
2021-11-10-132248 WinPE: Export WinPE Package Inventory to I:\Osdbuilder2021\OSMedia\build2111100122\WinPE\info
2021-11-10-132256 WinPE: Dismount-WimsPE`
powershell 7 will create the image Windows Server 2019 Datacenter Desktopdarstellung x64 1809 17763.2183 de-DE and powershell 5 will create the image Windows Server 2019 Datacenter Desktopdarstellung x64 1809 17763.2300 de-DE
I have not done any testing on PowerShell 7.x for OSDBuilder
Will this Project ever be tested against Powershell 7+ ?
Apologies, I don't have any current plans to test this on PowerShell 7, and I'm not sure I'm going to be able to continue updating OSDBuilder due to time constraints