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

Is there a way to find if multiple MS updates are installed using WMIC command:

wmic qfe | find ?


share|improve this question
uh yes using pretty much the command you already provided. What are you specifically trying to do? – August Jul 9 '12 at 19:48
yes but i want to query about multiple update at once – Eddy Jul 9 '12 at 20:05
up vote 0 down vote accepted

Similar to what you have in your question, you can do this:

wmic qfe | findstr /G:C:\Temp\KBs.txt

where C:\Temp\KBs.txt is the full path to a text file of the updates you are looking for. You can list the KB #s on separate lines in the file to search for multiple updates.

share|improve this answer
Thanks August, but its not showing anything – Eddy Jul 10 '12 at 13:52
what does it show when you just do a 'wmic qfe | findstr kb######'? That should limit the output to just the 1 update. Putting each kb###### on a separate line in the txt file and running the command above should limit it to just the updates you are looking for. – August Jul 10 '12 at 13:59
still doesnt show anything, although when i tried findstr kb only it showed all the updates installed – Eddy Jul 10 '12 at 14:45
Thanks August its working, do you know how to report the not found also – Eddy Jul 11 '12 at 12:40
I'm not sure what you mean exactly. Updates that aren't installed won't show up in the results. – August Jul 11 '12 at 12:58

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.