Quick PowerShell command to check if a Windows update is installed on a computer.

List every hotfix installed

Get-HotFix

Check for a specific KB

Get-HotFix -Id KBXXXXXX

Reference: Get-HotFix (PowerShell docs)

See also: Automate Windows Update