Merge pull request #436 from KnifMelti/Small_Fix

WAUConfig is returned, check that instead of WAUPolicies
pull/438/head
Romain 2023-10-19 17:46:24 +02:00 committed by GitHub
commit e08ce7911f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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."
}