diff --git a/Sources/Winget-AutoUpdate/Winget-Upgrade.ps1 b/Sources/Winget-AutoUpdate/Winget-Upgrade.ps1 index efe88e3..da6bc5e 100644 --- a/Sources/Winget-AutoUpdate/Winget-Upgrade.ps1 +++ b/Sources/Winget-AutoUpdate/Winget-Upgrade.ps1 @@ -137,7 +137,7 @@ if (Test-Network) { if ($IsSystem) { #Get Current Version - $WAUCurrentVersion = $WAUConfig.DisplayVersion + $WAUCurrentVersion = $WAUConfig.ProductVersion Write-ToLog "WAU current version: $WAUCurrentVersion" #Check if WAU update feature is enabled or not if run as System