Windows 10: List missing windows updates using PowerShell
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:
https://everything-powershell.com/wp-content/uploads/2020/12/image-14.png
As you can see on my Windows 10 machine, it shows two windows updates that need to be installed.