Skip to content

Instantly share code, notes, and snippets.

<#
Fresh Windows bootstrap script
- Enables WSL, Virtual Machine Platform, optional Windows Sandbox
- Installs chosen applications with winget (idempotent)
- Optional sets: mobile / gaming
- Privacy tweaks (optional), logging, reboot detection
- Re-runnable: skips already enabled features & installed packages
Execution Policy / First Run:
Windows may block direct execution (Restricted / AllSigned). Launch one of these from an elevated PowerShell: