We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 059b6dc + ff0ca40 commit 2f71aacCopy full SHA for 2f71aac
functions/private/Install-WinUtilWinget.ps1
@@ -52,6 +52,7 @@ function Install-WinUtilWinget {
52
53
# Check if Windows version supports Repair-WinGetPackageManager (24H2 and above)
54
if ([System.Environment]::OSVersion.Version.Build -ge 26100) {
55
+ Install-Module -Name Microsoft.WinGet.Client -Force -ErrorAction Continue
56
Repair-WinGetPackageManager -Force -Latest -Verbose
57
# Verify if repair was successful
58
$wingetCmd = Get-Command winget -ErrorAction Stop
0 commit comments