Problem scenario
You want to know if a particular KB was installed on your Windows machine. You know the KB number. How do you use PowerShell to find out if this update has been installed or not?
Solution
Run this: get-hotfix | sls "kb123456789" # Replace kb123456789 with the KB of your choice.