Get a list of all installed Windows updates - Quick Reference Guide
The WMIC (Windows Management Instrumentation Command) is used to get information about hardware and systems, manage processes and their components, and change settings using the capabilities of Windows Management Instrumentation (Windows Management Instrumentation or WMI).