From bd7b2c7bc0f77885b213087738b2171a414978a7 Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Wed, 10 Aug 2022 10:57:09 +0200 Subject: [PATCH] Shuffle outdated apps list --- Winget-AutoUpdate/functions/Get-WingetOutdatedApps.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Winget-AutoUpdate/functions/Get-WingetOutdatedApps.ps1 b/Winget-AutoUpdate/functions/Get-WingetOutdatedApps.ps1 index 9c78b12..153a8af 100644 --- a/Winget-AutoUpdate/functions/Get-WingetOutdatedApps.ps1 +++ b/Winget-AutoUpdate/functions/Get-WingetOutdatedApps.ps1 @@ -52,5 +52,5 @@ function Get-WingetOutdatedApps { } } - return $upgradeList + return $upgradeList | Sort-Object {Get-Random} } \ No newline at end of file