Adding PowerShell 7 to WinPE

While not officially supported, PowerShell 7 seems to play somewhat nicely in WinPE. Here is a short script that adds it into WinPE build 10.1.22000.1 (Windows ADK for Windows 11 21H2) or WinPE build 10.0.22621.1 (Windows ADK for Windows 11 22H2). Update July 2, 2022: Added code to support PowerShell Gallery, set screen resolution and … Continue reading Adding PowerShell 7 to WinPE