diff --git a/scripts/Common/Scripts/Software.ps1 b/scripts/Common/Scripts/Software.ps1 index 6fd04a34..ea4b91b1 100644 --- a/scripts/Common/Scripts/Software.ps1 +++ b/scripts/Common/Scripts/Software.ps1 @@ -59,7 +59,11 @@ $null = New-Module { foreach ($name in $Names) { if ($Force.IsPresent -and -not (Test-WingetPackage $name)) { - winget install --accept-source-agreements --accept-package-agreements -e --id $name; + winget install ` + --accept-source-agreements --accept-package-agreements ` + --source winget ` + --scope machine ` + --exact --id $name; } } }