#Check for auto updates
$objAutoUpdate
= new-Object
-com Microsoft.Update.AutoUpdate
$objSettings
= $objAutoUpdate.Settings
IF ($objSettings.NotificationLevel
-eq 4)
{ write-host
'[X] Windows AutoUpdate'}
else {'[ ] Windows AutoUpdate'}
No comments:
Post a Comment