From f6210fb29eb2d6a4d7b2d2d0c3d566179a87e6c3 Mon Sep 17 00:00:00 2001 From: silversword411 Date: Tue, 5 Mar 2024 10:10:31 -0500 Subject: [PATCH] Updating choco bulk to use --no-progress --- scripts/Win_Chocolatey_Manage_Apps_Bulk.ps1 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/Win_Chocolatey_Manage_Apps_Bulk.ps1 b/scripts/Win_Chocolatey_Manage_Apps_Bulk.ps1 index 8d43f76..7a20e11 100644 --- a/scripts/Win_Chocolatey_Manage_Apps_Bulk.ps1 +++ b/scripts/Win_Chocolatey_Manage_Apps_Bulk.ps1 @@ -26,7 +26,8 @@ .NOTES 9/2021 v1 Initial release by @silversword411 and @bradhawkins 11/14/2021 v1.1 Fixing typos and logic flow - 12/8/2023 v1.3 Adding list, making choco full path + 12/8/2023 v1.3 silversword411 Adding list, making choco full path + 3/5/2024 v1.4 silversword411 Adding --no-progress to minimize output #> param ( @@ -65,7 +66,7 @@ switch ($Mode) { "install" { if ($PackageName) { foreach ($package in $PackageName) { - & $chocoExePath install $package -y + & $chocoExePath install $package -y --no-progress } } } @@ -79,11 +80,11 @@ switch ($Mode) { "upgrade" { if ($PackageName) { foreach ($package in $PackageName) { - & $chocoExePath upgrade $package -y + & $chocoExePath upgrade $package -y --no-progress } } else { - & $chocoExePath upgrade all -y + & $chocoExePath upgrade all -y --no-progress } } "list" {