diff --git a/Winget-AutoUpdate/Winget-Upgrade.ps1 b/Winget-AutoUpdate/Winget-Upgrade.ps1 index e904e4d..cfe3fe1 100644 --- a/Winget-AutoUpdate/Winget-Upgrade.ps1 +++ b/Winget-AutoUpdate/Winget-Upgrade.ps1 @@ -21,7 +21,7 @@ Write-ToLog -LogMsg "CHECK FOR APP UPDATES" -IsHeader #Get settings and Domain/Local Policies (GPO) if activated. $Script:WAUConfig = Get-WAUConfig -if ($($WAUPolicies.WAU_ActivateGPOManagement -eq 1)) { +if ($($WAUConfig.WAU_ActivateGPOManagement -eq 1)) { Write-ToLog "WAU Policies management Enabled." }