Skip to content

Use winget Powershell Module if available#908

Closed
FaserF wants to merge 7 commits intoRomanitho:developfrom
FaserF:support-winget-ps-module
Closed

Use winget Powershell Module if available#908
FaserF wants to merge 7 commits intoRomanitho:developfrom
FaserF:support-winget-ps-module

Conversation

@FaserF
Copy link
Copy Markdown
Contributor

@FaserF FaserF commented Apr 11, 2025

Proposed Changes

The native Winget Powershell Support opens more possibilities and better support in WAU. If the Powershell Module is available use the PS module instead, if not use the winget CLI as fallback instead.

Related Issues

(Github link to related issues or pull requests)

@github-actions github-actions Bot added the invalid-branch Invalid branch label Apr 11, 2025
@FaserF FaserF changed the base branch from main to develop April 11, 2025 08:08
@github-actions github-actions Bot removed the invalid-branch Invalid branch label Apr 11, 2025
@FaserF
Copy link
Copy Markdown
Contributor Author

FaserF commented Apr 11, 2025

09:40:20 - Checking prerequisites...
09:40:25 - WinGet installed version: 1.10.340 | WinGet available version: 1.10.340
09:40:25 - -> WinGet is up to date: v1.10.340
09:40:25 - Checking if PowerShell module 'Microsoft.WinGet.Client' is installed and up to date...
09:40:32 - -> Module 'Microsoft.WinGet.Client' is not installed. Attempting installation...
09:40:49 - -> Module 'Microsoft.WinGet.Client' installed successfully.
09:40:49 - PowerShell module 'Microsoft.WinGet.Client' is available.
09:40:49 - Prerequisites checked. OK

------
09:42:33 - Checking prerequisites...
09:42:35 - WinGet installed version: 1.10.340 | WinGet available version: 1.10.340
09:42:35 - -> WinGet is up to date: v1.10.340
09:42:35 - Checking if PowerShell module 'Microsoft.WinGet.Client' is installed and up to date...
09:42:45 - -> Module 'Microsoft.WinGet.Client' is already up to date (version 1.10.340).
09:42:45 - PowerShell module 'Microsoft.WinGet.Client' is available.
09:42:45 - Prerequisites checked. OK

@Romanitho
Copy link
Copy Markdown
Owner

#895 (comment)

@FaserF FaserF closed this Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants