From e76e70f55ee4efacf59beb2849807b358fab5c3b Mon Sep 17 00:00:00 2001 From: KnifMelti Date: Fri, 20 Jan 2023 04:56:34 +0100 Subject: [PATCH] Forgot the GPOList Array for Update --- Winget-AutoUpdate/Winget-Upgrade.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Winget-AutoUpdate/Winget-Upgrade.ps1 b/Winget-AutoUpdate/Winget-Upgrade.ps1 index 0e7b915..80b1a64 100644 --- a/Winget-AutoUpdate/Winget-Upgrade.ps1 +++ b/Winget-AutoUpdate/Winget-Upgrade.ps1 @@ -199,6 +199,7 @@ if (Test-Network) { #Fix the array if GPO List! if ($GPOList) { + $toUpdate = $toUpdate.Data $toSkip = $toSkip.Data }