GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Windows-PowerShell-Scripts/Install-Winget.ps1 at main · Ryan-Adams57/Windows-PowerShell-Scripts Expand file tree/ Copy pathInstall-Winget.ps1More file actions 25 lines (17 loc) · 1.09 KB / Copy pathInstall-Winget.ps1File metadata and controls25 lines (17 loc) · 1.09 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 # Install-Winget.ps1 # Installs or reinstalls the Windows Package Manager (winget) # Must be run as Administrator Write-Host "--- Installing/Repairing Winget ---" -ForegroundColor Cyan # Method 1: Install via PowerShell module Install-Module -Name Microsoft.WinGet.Client -Scope AllUsers -Force # Method 2: Install via MSIX bundle from GitHub (uncomment if Method 1 fails) # Add-AppxPackage https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle # Method 3: Re-register existing installation # Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe # Method 4: Add from CDN source (uncomment if needed) # Add-AppxPackage https://cdn.winget.microsoft.com/cache/source.msix Write-Host "Winget installation complete. Test with: winget --version" -ForegroundColor Green # --- Upgrade all packages silently --- # winget upgrade --all --silent --accept-source-agreements --accept-package-agreements # --- Upgrade (short form) --- # winget upgrade -r -h -u --accept-source-agreements --accept-package-agreements |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |