diff --git a/powershell/Remove-BuiltInApps.ps1 b/powershell/Remove-BuiltInApps.ps1 index 45db5cd..c87450b 100644 --- a/powershell/Remove-BuiltInApps.ps1 +++ b/powershell/Remove-BuiltInApps.ps1 @@ -18,7 +18,7 @@ $Packages = @( foreach ($Package in $Packages) { Write-Host "Uninstalling: $Package" -ForegroundColor Cyan - winget uninstall --name "$Package" --silent --accept-source-agreements + winget uninstall --name "$Package" --silent --accept-source-agreements --accept-package-agreements if ($LASTEXITCODE -eq 0) { Write-Host "$Package successfully uninstalled" -ForegroundColor Green