Production-grade Windows PE builder with PowerShell 7, custom modules, and automatic script launching
Find a file
Claude b06374a562 Initial commit: Build PE Script Launcher
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>
2026-01-12 16:39:43 -05:00
lib Initial commit: Build PE Script Launcher 2026-01-12 16:39:43 -05:00
resources Initial commit: Build PE Script Launcher 2026-01-12 16:39:43 -05:00
.gitignore Initial commit: Build PE Script Launcher 2026-01-12 16:39:43 -05:00
Build-PE.ps1 Initial commit: Build PE Script Launcher 2026-01-12 16:39:43 -05:00
CLAUDE.md Initial commit: Build PE Script Launcher 2026-01-12 16:39:43 -05:00
config.json Initial commit: Build PE Script Launcher 2026-01-12 16:39:43 -05:00
README.md Initial commit: Build PE Script Launcher 2026-01-12 16:39:43 -05:00
Update-Modules.ps1 Initial commit: Build PE Script Launcher 2026-01-12 16:39:43 -05:00

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