Benutzer-Werkzeuge

Webseiten-Werkzeuge


winget

Dies ist eine alte Version des Dokuments!


CMD

winget list # installierte pakete
winget list PDF24
winget search PDF24

winget install powertoys --version 0.15.2
winget install --id Microsoft.PowerToys
winget install --id Microsoft.PowerToys --version 0.15.2

winget install --id Git.Git -e
winget install --id Git.Git -e --source winget
winget install XP9KHM4BK9FZ7Q -s msstore

winget install --manifest \<path>

winget download PDF24 # gets downloaded into "Downloads" folder
Add-AppxPackage -Path C:\Users\manuel\Downloads\9WZDNCRFHVN5\Calculator.appx

Powershell

Install-Module Microsoft.winget.Client
 
# Find available packages
Find-WingetPackage PDF24
Find-WinGetPackage -id Microsoft.PowerShell.Preview -Source winget
Find-WinGetPackage -id Microsoft.WindowsTerminal -MatchOption Equals
Find-WinGetPackage | Where Name -like "PDF*" | select-object Name -Unique | fl
 
# Find installed packages
Get-WinGetPackage | Where Source -eq 'winget' | Select Name,ID,InstalledVersion,AvailableVersions
 
# Find updates
Get-WingetPackage | where-object { $_.Source -eq 'winget' } | select * | where-object { $_.AvailableVersions[0] -gt $_.InstalledVersion } | foreach-object { Write-Host "$($_.Name) - $($_.InstalledVersion) - $($_.AvailableVersions[0])" }
Get-WingetPackage | where-object { $_.Source -eq 'winget' -and $_.IsUpdateAvailable -eq $true } | select Name,AvailableVersions | ft
 
# Install packages
Install-WinGetPackage -Id Dropbox.Dropbox -Source winget
Find-WinGetPackage -id Microsoft.PowerShell.Preview -Source winget | InstallWinGetPackage
 
# Uninstall packages
Uninstall-WinGetPackage -id Git.Git -MatchOption Equals
Get-WingetPackage | Where-Object { $_.Source -eq 'winget' } |
    Select-Object Name,ID | ConvertTo-Json |
    Out-File -FilePath D:\temp\winget.json -Encoding utf8

Download

Invoke-WebRequest -Uri https://aka.ms/getwinget -OutFile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx
Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-uixaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -OutFile Microsoft.UI.Xaml.2.8.x64.appx
Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx
Add-AppxPackage Microsoft.UI.Xaml.2.8.x64.appx
Add-AppxPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
winget.1741565400.txt.gz · Zuletzt geändert: 2025/03/10 01:10 von jango