WAUConfig is returned, check thar instead of WAUPolicies

pull/436/head
KnifMelti 2023-10-19 17:33:36 +02:00
parent 2478d3c11b
commit 01db534841
1 changed files with 1 additions and 1 deletions

View File

@ -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."
}