This question already has an answer here:

I need to automate the task of search and install Windows 7 and 8 updates through the command line(it could be over cmd, vbs or powershell), there is some way?

Thanks in advance.

marked as duplicate by Ƭᴇcʜιᴇ007, Tog, Mokubai, Breakthrough, a CVn Sep 25 '13 at 12:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Out of the box it can be a PITA to do (You need to do some COM stuff), but Microsoft provides an additional powershell module that exposes the commandlet Get-WUInstall that acts as a wrapper to make it a lot easier.

  • Powershell is the way of the future. – surfasb Sep 19 '13 at 9:15

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