I found a script similar to this on the following link. Maybe it could help? It seems to detect my level correctly, but I don't have rights to change the settings to verify it works for all levels.
 Code:
$objAutoUpdate = CreateObject("Microsoft.Update.AutoUpdate")
$objSettings = $objAutoUpdate.Settings

$UpdateLevel = $objSettings.NotificationLevel

Select
   Case $UpdateLevel=0
      ? "Automatic Updates is not configured by the user or by a Group Policy administrator."
   Case $UpdateLevel=1
      ? "Never check for updates(not recommended)."
   Case $UpdateLevel=2
      ? "Automatic Updates prompts users to approve updates before downloading or installing."
   Case $UpdateLevel=3
      ? "Install updates automatically(recommended)."
   Case $UpdateLevel=4
      ? "Download updates but let me choose whether to install them."
   Case 1
      ? "Notification level could not be determined."
EndSelect

get $

https://www.zabbix.com/forum/archive/index.php/t-48968.html