Skip to main content

Winget Upgrade All

Summary

This script uses Winget to attempt an upgrade for all available packages on an endpoint and attempts to install an application via Winget.

Dependencies

None. This script can be run on any Windows device.

Create Script

To implement this script, please create a new PowerShell-style script in the system.

Image 1
Image 2

  • Name: Winget Upgrade All
  • Description: Uses Winget to attempt an upgrade for all available packages on an endpoint.
  • Category: Custom

Image 3

Script

Image 4

Paste the PowerShell script below directly into the "Script" field.

PowerShell Script

Expected time of script execution in seconds*: 2400

Completed Task

Image 5

Output

  • Script log

Changelog

2025-04-10

  • Initial version of the document