Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.
set s=getobject("winmgmts:root\cimv2") sQuery="select * from win32_process where name='iexplore.exe'" set q=s.execquery(sQuery) msgbox "Maintenance: Close Internet Explorer bla bla bla." Do until q.count=0 wscript.sleep 5000 set q=s.execquery(sQuery) msgbox "still open please close..." Loop msgbox "Internet Explorer closed, thanks. Starting to update, have a nice day!" Set WshShell = WScript.CreateObject("Wscript.Shell") Set objFSO = CreateObject("Scripting.FileSystemObject") end if
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
18 Experts available now in Live!