WinPE doesn't include PowerShell by default. To add it, use the WinPE optional components. You will need to navigate to the ADK installation path to find the .cab files, usually located in: C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs
Here’s a proper, paper-friendly breakdown for — suitable for printing or reference. winpe 11 install
Common customizations
WinPE is not a full OS. It runs from RAM and everything resets after reboot. It has no GUI start menu—only a command prompt (and optional basic GUI tools). WinPE doesn't include PowerShell by default