Web TippsUse custom web fonts in Google Sheets charts(08.09.2026 um 17:05 Uhr)
Web TippsIntroducing the new 1Password App for Google Chat(08.09.2026 um 18:02 Uhr)
Web TippsUse custom web fonts in Google Sheets charts(08.09.2026 um 17:05 Uhr)
Web TippsIntroducing the new 1Password App for Google Chat(08.09.2026 um 18:02 Uhr)

🔧 Programmierung 🕛 vor 1 Jahr 2 Min Lesezeit
0

Streamline Your Winget Package Updates with PowerShell

↗ Quelle (dev.to)
🗣️ Stimme:

Managing and updating packages using Winget can sometimes be a tedious process, especially when you have to manually copy and paste package IDs one by one. Here's a solution to simplify your life — a PowerShell script that automates this task.






The Problem



Each time I need to update a bunch of packages using Winget, I end up constructing a line like this in my PowerShell session, which involves a lot of copying and pasting:




CODE
winget update --id package.id1; winget update --id  package.id2; ... ; winget update --id  package.idN






). So, you often need to use --name instead of --id.






The Solution



To solve this, I wrote a PowerShell script that lists all possible updates for installed packages when called without arguments. Then it accept a list of package IDs as an argument and upgrade the listed packages. Note: I still copy and paste IDs of desired packages anyway. 😅 ("HelpWanted")



.


  • Place the Script Anywhere: Place the script in any directory of your choice.


  • Set Alias in $PROFILE: Add an alias to your $PROFILE for easy access.




  • CODE
    Set-Alias -Name wup -Value "Path\To\Script.ps1"






    Now, you can simply run wup in your PowerShell session to list updates or provide specific package IDs to update.









    Notes



    gist with script contains a Readme.md with more PowerShell thoughts.

    If you have any questions or improvements, feel free to contribute!






    All code is licensed under the MIT License. Happy updating!



    By the way, did you hear about the scrambled developer who couldn’t find his packages? He said, "I guess I’m just egg-sasperated!" 🥚

    Vollständiger Original-Bericht
    Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
    ↗ Original-Artikel auf dev.to lesen
    Wie bewertest du diesen Beitrag?
    1 Klick Feedback
    Teilen mit Netzwerk & Team:

    Community-Analysen & Experten-Meinungen 0

    Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
    Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
    Community Pulse: Relevanz-Einschätzung
    1 Klick Experten-Votum
    🔴 Akute Relevanz 0%
    🟡 In Evaluierung 0%
    🟢 Keine Auswirkung 0%
    Spannende Innovation 0%
    Verwandte Story-Cluster & Quellen (Vektor-KI)
    Port 8095 Engine
    3 Quellen
    Use custom web fonts in Google Sheets charts
    2 Quellen
    Introducing the new 1Password App for Google Chat
    1 Quelle
    Context-aware access controls are available for Gemini Enterprise in the Admin console
    Ähnliche Beiträge
    🔍 Verwandte News

    Auch interessante Nachrichten Streamline Your Winget Package Updates with PowerShell

    Thematisch verwandte Begriffe: Streamline, Your, Winget, Package · 6 Treffer

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...