Hello,
has someone a script/or can help me to check, is there a windows update for a server available?
So i will get a mail when the yellow update icon is in the taskbar.
My idea is: Send a mail, if the wuauclt.exe longer than 10 minutes in the taskbar.
But i have no idea to make this.
I found only this:
Dim strComputer, strProcess
Do
strProcess = inputbox( "Please enter the name of the process (for instance: explorer.exe)", "Input" )
Loop until strProcess <> ""
Do
strComputer = inputbox( "Please enter the computer name", "Input" )
Loop until strComputer <> ""
If( IsProcessRunning( strComputer, strProcess ) = True ) Then
WScript.Echo "Process " & strProcess & " is running on computer " & strComputer
Else
WScript.Echo "Process " & strProcess & " is NOT running on computer " & strComputer
End If
Thanks for help.