Most of the Windows machines use the automatic updates to install the latest updates from Microsoft. Recently, we ran into an issue where the Biztalk configuration started failing on one of the servers. Having to investigate if this was caused by a patch, we were looking at a quick way of figuring out if there is an easy way to get a list of the updates made to the operating system.
A quick search suggested the command line tool WMIC that can be used for this purpose. Using WMIC as below would give you the complete details of the patches that were installed on the machine -
C:\>WMIC QFE LIST
WMIC is the command line interface for WMI & works from Windows XP & Windows Server 2003 onwards. Complete details for WMIC can be found here.