Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Security Patch Scanning script

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,49883
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> Security Patch Scanning script
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Security Patch Scanning script - 7/24/2007 1:31:53 AM   
  CondoPC


Posts: 118
Score: 0
Joined: 7/23/2007
Status: offline
This script will scan a list of computers remotely for security patches installed. This can return a list of all patches installed or just scan for a defined list of patches and report whether they are installed or not.

Because the list of servers and patches can be large, the script assumes that this information would be kept in a database. Access works great for this. At a minmum, it expects a database with two tables, one for servers and on for patches.

The script is easily modified to reflect your database name, your table names, and your table columns. It also allows you to specify a filter so that you can refine your searches to smaller groups of servers or patches. The output is in csv format and is easy to manipulate into a pivot table for reporting.


      

< Message edited by CondoPC -- 7/24/2007 1:35:29 AM >
 
 
Revisions: 1 | Post #: 1
 
 RE: Security Patch Scanning script - 7/26/2007 11:53:04 PM   
  4scriptmoni


Posts: 190
Score: 0
Joined: 5/3/2007
Status: offline
COOL script! I am testing here in Pre. If you dont mind I may change few things...
Just notice:
1. The .mdb does not get updated (is it used only for filtering ?)
2. Date field is not showing in .csv

I had a similar but  very very small thing, just outputs all hotfixes to a .txt


      

_____________________________

Enterprise Microsoft Scripts
Exchange, Login/Logout Monitor,TS, Monitoring, Security, AD, etc...
http://www.xoroz.com

(in reply to CondoPC)
 
 
Post #: 2
 
 RE: Security Patch Scanning script - 7/27/2007 12:37:22 AM   
  CondoPC


Posts: 118
Score: 0
Joined: 7/23/2007
Status: offline
Yes, I use the MDB for filtering because my list of servers is too large to build arrays or read from text. I already have a database of information about my servers, so adding a patch table was easy. This allows me to use this script as a framework and build all sorts of reporting and deployment scripts using the information in my database.

I found the date issue also, although it didn't bug me enuf to debug why it is available from WMI but doesn't contain anything.

(in reply to 4scriptmoni)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> Security Patch Scanning script Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts