Build precise queries to find exactly what you need
Press ESC to close
Great script.
I got an error due to win update being disabled. I’ve modified the script for this scenario. Put this in the top of “main”:
””””””””””” ‘ Main ””””””””””” Set objAutoUpdate = CreateObject(“Microsoft.Update.AutoUpdate”)
If objAutoUpdate.ServiceEnabled “True” Then Wscript.Echo “Windows Update service disabled on client. Please enable.” Wscript.Quit(intCritical) End If
Set objSettings = objAutoUpdate.Settings
If objSettings.NotificationLevel = 1 Then Wscript.Echo “Windows Update notification level is set to ‘Never check for updated (not recommended)’ – please change to ‘Check for updates but let me choose wether to download and install them’ or higher.” Wscript.Quit(intCritical) End If
intResultDetect = objAutoUpdate.DetectNow
…
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!