Skip to main content

Winget Auto Update

Purpose

The solution aims to keep winget-supported applications updated and report their current status to Automate. The automation portion of the solution uses Romanitho's Winget-AutoUpdate.

Associated Content

Auditing

ContentTypeFunction
Winget App AuditScriptFetches information about the installed winget-supported applications from the endpoint.
pvl_winget_auditCustom TableStores the data fetched by the Winget App Audit script.
Winget App AuditDataviewDisplays the data fetched by the Winget App Audit script.
Execute Script - Winget App AuditInternal MonitorDetects Windows computers where the Winget App Audit script has not been executed in the past 7 days.
△ Custom - Execute Script - Winget App AuditAlert TemplateExecutes the Winget App Audit script against the computers detected by the Execute Script - Winget App Audit internal monitor.

Automation

ContentTypeFunction
Configure Winget Auto UpdateScriptConfigures the Winget-AutoUpdate solution on the endpoint.
pvl_wau_configCustom TableStores the current configuration set for the computer from the client-level EDFs
Winget Auto Update ErrorsRemote MonitorChecks the error log file generated by the Winget Auto Update solution.
Execute Script - Configure Winget Auto UpdateInternal MonitorDetects Windows computers where the Configure Winget Auto Update script needs to be executed.
△ Custom - Execute Script - Configure Winget Auto UpdateAlert TemplateExecutes the Configure Winget Auto Update script against the computers detected by the Execute Script - Configure Winget Auto Update internal monitor.

Client-Level EDFs:
Client-Level EDFs

The Exclude From Winget Auto Update checkbox is available in the location and computer-level EDF section Exclusions to exclude the location and computer, respectively.

Note: Refer to the Client-Level EDF section in the script's document for comprehensive details on EDFs.

Implementation

  1. Import the following auditing content using the ProSync Plugin:

  2. Import the following automation content (if approved) using the ProSync Plugin:

  3. Reload the system cache:
    Reload Cache

  4. Run the Winget App Audit script with the Set_Environment parameter set to 1 for the first run to create the pvl_winget_audit table used by the solution.
    Run Winget App Audit

  5. Run the Configure Winget Auto Update script (if imported) with the Set_Environment parameter set to 1 for the first run to create the pvl_wau_config table and the EDFs used by the solution.
    Run Configure Winget Auto Update

  6. Reload the system cache again:
    Reload Cache

  7. Configure the auditing solution as outlined below:

  8. Configure the automation solution (if approved) as outlined below: