Export Windows Update list

If you want to export a list of updates installed on a Windows 2008 server, there is a built in tool to do this.
Use the WMIs Command-line interface (WMIC) to export this list.

On the command line:

wmic qfe get /format:csv > C:\updates.csv

You can use these other format options:

CSV | HFORM | HTABLE | LIST | MOF | RAWXML

HFORM/HTABLE are HTML
LIST is Tab Delimited
RAWXML is XML

List all Windows updates in HTML or TXT format

wmic qfe list brief /format:htable > "c:\hotfix.html"

This produces a HTML file named “hotfix.html”¬†that gets placed in the root of your C: drive.
If you would rather have a text file, the command would be:

wmic qfe list brief /format:texttablewsys > "%USERPROFILE%\hotfix.txt"