I was recently asked how to get all Windows updates that are missing in Windows 10.
There is a great script written by Grimthorr 5 years ago which is still working on the current version of Windows 10. To get the code, you can head over to his post on GitHub below:
Below is an output of what it the script picks up:
As you can see on my Windows 10 machine, it shows two windows updates that need to be installed.
Hope it helps.