# === PS.MyWinApps === # $ErrorActionPreference="SilentlyContinue" # --- Request Administrator Rights (works with iex irm) --- # if(!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(544)){start powershell '-nop -ep bypass -c iex (irm mywinapps.pages.dev)' -v runas; exit} $apps = @( "Microsoft.DotNet.Runtime.Preview", "Microsoft.DotNet.SDK.Preview", "Microsoft.VCRedist.2015+.x64", "Microsoft.VCRedist.2015+.x86", "Oracle.JDK.25", "Zoom.Zoom", "OBSProject.OBSStudio", "9WZDNCRFJ3B4", # JW Library "voidtools.Everything.Alpha", "Ayugram", "TorBrowser", "ProtonVPN.ProtonVPN", "GoLang.Go", "Microsoft.PowerShell", "Python.Python.3.14", "Microsoft.OpenSSH.Preview", "Git.Git", "NodeJS.NodeJS", "Google.Antigravity", "ShutUp10", "DISM++", "Ventoy", "CurseForge.CurseForge" ) $total = $apps.Count $i = 1 foreach ($app in $apps) { Write-Host "[$i/$total] Installing $app ..." -ForegroundColor Cyan winget install ` --id $app ` --silent ` --accept-package-agreements ` --accept-source-agreements ` --disable-interactivity ` -e if ($LASTEXITCODE -eq 0) { Write-Host "Installed: $app" -ForegroundColor Green } else { Write-Host "Failed or already installed: $app" -ForegroundColor Yellow } $i++ } Write-Host "`nAll tasks finished." -ForegroundColor Green