Get list of Windows Updates installed on a machine. This can be used in SCCM compliance settings, or to determine if a particular update is installed.
get-wmiobject -class win32_quickfixengineering
You also get specific information, such as name, KB number, by adding this to end:
| select-object -property
Available properties are description, KB number (hotfixID), who installed it (InstalledBy), and when it was installed (InstalledOn).
Here’s a sample output from my Windows 10 machine: