@kidokidofire
Thanks for your posting on Q&A.
In fact, there are so many methods we could refer to get the installed updates list. As you mentioned above, method a and b are good ways to list the installed updates. There are no so called correct method. We could also run the get-hotfix
command to get the installed updates list on PowerShell.
I suspect that the method filter out the several installed updates according to the conditions. So there are only some of them. I'm not a expert in PowerShell. But it seems that the command in method c filter out the installed updates by $Res = $Searcher.search("IsInstalled=1 and RebootRequired=0 and Type='Software'").
So it is recommend to follow method a and b to the installed updates list. We could also run the get-hotfix
command to get the installed updates.
Hope the above will be helpful.
Have a great day.
Regards,
Rita
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.