All gists

jblu
Last active 6 months ago
0 0 1
1 @(set '(=)||' <# lean and mean cmd / powershell hybrid #> @'
2
3 ::# Get 11 on 'unsupported' PC via Windows Update or mounted ISO (no patching needed)
4 ::# if WU is stuck use windows_update_refresh.bat; Beta/Dev/Canary needs OfflineInsiderEnroll
5 ::# V13: skip 2nd tpm check on Canary iso; no Server label; future proofing; tested with 26010 iso, wu and wu repair version
6
7 @echo off & title get 11 on 'unsupported' PC || AveYo 2023.12.07
8 if /i "%~f0" neq "%SystemDrive%\Scripts\get11.cmd" goto setup
9 powershell -win 1 -nop -c ";"
10 set CLI=%*& set SOURCES=%SystemDrive%\$WINDOWS.~BT\Sources& set MEDIA=.& set MOD=CLI& set PRE=WUA& set /a VER=11