Skip to main content

Script - Winget - InstallUpdate Autofix,Param

Summary

This script is created to install and update applications whose packages are available in Winget.
Please find the application package at the following URL:
https://winget.run/search

Script Path: C:/ProgramData/_automation/script/Invoke-WingetProcessor/Invoke-WingetProcessor.ps1
File Hash: 606FC62A7E6AD61143B93A6426BAD11F99C05AAD01BDFA0963F6AC83D6935C73

Sample Run

Sample Run

Variables

Document the various variables in the script. Delete any section that is not relevant to your script.

NameDescription
LogContentAgnostic script 'Invoke-WingetProcessor' informational logging is stored in this variable
ErrorLogAgnostic script 'Invoke-WingetProcessor' error logging is stored in this variable

Global Parameters

NameExampleRequiredDescription
ProjectNameInvoke-WingetProcessorTrueThis determines which project to download and execute by the Automate implementation script

User Parameters

NameExampleRequiredDescription
PackageIDMicrosoft.RemoteDesktopClientFalseThis is needed to install/update the application
SourceWingetFalseThis is needed to determine whether the application PackageID is in Winget search or Microsoft Store

Output

  • Script log