Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I require a VB script which when run gives me the details about the latest Windows patch that was updated on the servers along with the date & time.

share|improve this question
Have you considered using WSUS instead of doing this manually? – jscott Mar 26 '12 at 13:02
Anu- I hope that you're not asking anyone on this site to write one for you, or search Google for you? You haven't told us what you've tried so far and what did or didn't work. – mfinni Mar 26 '12 at 13:17

You can do this with the following command:

wmic /node:"<servername>" qfe get description,fixComments,hotfixid,installedby,installedon,servicepackineffect

Where is the hostname of your server.

You might want to take a look at WSUS.

share|improve this answer

I have no idea but you could try something like this

share|improve this answer

Please use powershell for new / future scripting on windows platform. it is the modern oo based shell environment and should meet your needs. VBS is a pre 2000 (over 10 years old) scripting solution that should be on the retirement technology list.

This blog post has lots of interesting info regarding your need:

There are several sites that contain pre-built powershell scripts you can bing / google for.

Adding: Agree with other commentors that WSUS is a good solution for this as well.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.