Winget Enablement Status
Purpose
The purpose of this CWA solution is to collect and display whether Winget is available on Windows machines.
Associated Content
| Content | Type | Function |
|---|---|---|
| Get Winget Enablement Status | Script | Checks whether Winget is enabled and available on Windows machines. A user must be logged in for the script to run. |
| Winget Enablement Status | Dataview | Displays the Winget enablement status for Windows machines, indicating whether Winget is available or not. |
| Execute Script - Get Winget Enablement Status | Internal Monitor | Runs the Get Winget Enablement Status script on Windows machines. The script will run daily on any machine where Winget is not available or where no user was logged in during the previous audit. It will not run again on machines where Winget was already confirmed as available. |
△ Custom - Execute Script - Get Winget Enablement Status | Alert Template | Runs the script on the machines detected by the internal monitor. |
Implementation
-
Import the following content using the ProSync Plugin:
- Script: Get Winget Enablement Status
- Dataview: Winget Enablement Status
- Internal Monitor: Execute Script - Get Winget Enablement Status
- Alert Template - △ Custom - Execute Script - Get Winget Enablement Status
-
Reload the system cache (Ctrl + R).
-
Configure the solution as outlined below:
- Navigate to Automation → Monitors within the CWA Control Center and set up the following:
- Internal Monitor - Execute Script - Get Winget Enablement Status
- Alert Template -
△ Custom - Execute Script - Get Winget Enablement Status - Right-click and Run Now to start the monitor
- Alert Template -
- Internal Monitor - Execute Script - Get Winget Enablement Status
- Navigate to Automation → Monitors within the CWA Control Center and set up the following: