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 }