Skip to main content

Winget - Update All

Summary

This script will update all Winget packages found on an endpoint.

Sample Run

Sample Run

Dependencies

Global Variables

NameValueAccepted ValuesDescription
DebugFalseFalse, TrueWhen True, enables informational logging; when False (default), informational logs are suppressed to avoid adding entries to the h_scripts table. Set to True to assist with troubleshooting.
ScriptEngineEnableLoggerFalseFalse, TrueWhen True, enables final (success/failure) logging; when False (default), these logs are suppressed to avoid adding entries to the h_scripts table. Set to True to assist with troubleshooting.
ProjectNameInvoke-WingetProcessorThis references the Agnostic Script name without the .ps1 and should not be changed.

Process

Please reference the agnostic content for the process.

Output

  • Script log