Production-grade Windows PE builder with PowerShell 7, custom modules, and automatic script launching
Production-grade Windows PE builder with PowerShell 7 integration. Features: - PowerShell 7 integrated into WinPE environment - Automatic script launcher for external media - Configurable startup and fallback scripts - Custom console colors - Maximized console window on boot - PowerShell module integration - Windows ADK auto-installation - Defender optimization for faster builds Project Structure: - Build-PE.ps1: Main build orchestrator - config.json: Configuration file - lib/: Build modules (Dependencies, WinPEBuilder, PowerShell7, ModuleManager, DefenderOptimization) - resources/: Runtime scripts (Invoke-ScriptLauncher, Invoke-ScriptMenu, Driver-Manager) - CLAUDE.md: Complete project documentation - README.md: Quick start guide Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| lib | ||
| resources | ||
| .gitignore | ||
| Build-PE.ps1 | ||
| CLAUDE.md | ||
| config.json | ||
| README.md | ||
| Update-Modules.ps1 | ||
Build PE Script Launcher
A production-grade Windows PE builder that creates bootable images with PowerShell 7, custom modules, and automatic script launching from external media.
Quick Start
# Build the WinPE ISO
.\Build-PE.ps1
# Update PowerShell modules (optional)
.\Update-Modules.ps1
Features
- PowerShell 7 - Full PS7 integration in WinPE environment
- Maximized Console - Auto-maximizes on boot for full-screen experience
- Custom Modules - Include any PSGallery modules
- External Media Detection - Automatically scans for scripts on USB drives
- Offline Fallback - Built-in script menu when no external media found
- Configurable - All settings in config.json
Documentation
See CLAUDE.md for complete documentation including:
- Architecture overview
- Configuration options
- Build process
- Customization guide
- Troubleshooting
Requirements
- Windows 10/11
- Administrator privileges
- ~10GB disk space (for Windows ADK)
License
MIT License - See LICENSE file for details