We ran into an issue with Windows Update where it failed to detect new updates. Below is a Msft article which I copied and pasted
Tag: windows updates
Listing Windows Updates using Powershell
From Powershell.com Listing Windows Updates There is a not widely known COM object that you can use to list all the installed Windows Updates on a machine.