SWM - Software Configuration - Component - WinGet Processor Suite
WinGet Export
Overview
Exports a JSON file containing a list of WinGet software packages on the endpoint. Uses ProVal's Invoke-WinGetProcessor.ps1 agnostic content.
Dependencies
Implementation
Import the component in this directory into the target environment.
Datto Variables
| Variable Name | Type | Default | Description |
|---|---|---|---|
JSONPath | String | Path to the JSON file on the endpoint. |
Output
stdOut & stdError
WinGet Import Install
Overview
Imports a JSON file containing a list of WinGet software packages (generated using WinGet Export) and installs all contained packages.
Dependencies
Implementation
Import the component in this directory into the target environment.
Datto Variables
| Variable Name | Type | Default | Description |
|---|---|---|---|
JSONPath | String | Path to the JSON file on the endpoint. If included with this component, the path should be only the name of the file. | |
AllowUpdate | Boolean | True | Should WinGet update existing packages on the endpoint? |
Output
stdOut & stdError
WinGet UpdateAll
Overview
Updates all compatible software packages using WinGet on an endpoint.
Dependencies
Implementation
Import the component in this directory into the target environment.
Datto Variables
None
Output
stdOut & stdError
WinGet Package Uninstall
Overview
Uninstalls a software package using WinGet on an endpoint.
Dependencies
Implementation
Import the component in this directory into the target environment.
Datto Variables
| Variable Name | Type | Default | Description |
|---|---|---|---|
PackageId | String | Package name(s) you want to uninstall, separated by commas. Syntax: 'notepadd++.notepad++','Git.Git','Ditto.Ditto' | |
AllowUpdate | Boolean | True | Should WinGet update existing packages on the endpoint? |
Output
stdOut & stdError
WinGet Package Uninstall
Overview
Uninstalls a software package using WinGet on an endpoint.
Dependencies
Implementation
Import the component in this directory into the target environment.
Datto Variables
| Variable Name | Type | Default | Description |
|---|---|---|---|
PackageId | String | Package name(s) you want to uninstall, separated by commas. Syntax: 'notepadd++.notepad++','Git.Git','Ditto.Ditto' |
Output
stdOut & stdError