$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 $