How to list the installed Windows Updates

There are several methods to find out the list of windows updates installed. [more]

There are also third pary tools and scripts available on the internet for the same task. But the same can be done in command prompt by using a simple command like:

wmic qfe get hotfixid

It list the number of updates installed. WMIC is nothing but WMI command line interface and is available in windows. If it’s difficult to read the list in command line interface, you can pipe the output in a text file.

wmic qfe get hotfixid > fix.log

That is it! There are other methods as well, which can be used. Basically, you don’t need a tool or script for a task that you can do yourself!

 If you want more details, then you can run the following command and it will give you more details like its Public URL, Description, ID, comments, Installed date, user who installed etc.

wmic qfe list full 
The output will look something like:
Caption=http://support.microsoft.com/?kbid=982381
CSName=Computer
Description=Security Update
FixComments=
HotFixID=KB982381
InstallDate=
InstalledBy=Computer\User
InstalledOn=7/26/2010
Name=
ServicePackInEffect=
Status=
Similarily, there are other switches like Brief and instance. Their usage: wmic qfe list brief