Syntax

param($days=10, $check_update_service=’no’)
#List all missing updates
#Write-Output “Creating Microsoft.Update.Session COM object”
$session1 = New-Object -ComObject Microsoft.Update.Session -ErrorAction silentlycontinue

#Write-Output “Creating Update searcher”
$searcher = $session1.CreateUpdateSearcher()

Download Full Script

Purpose:To help check missing updates for all Windows Operating Systems
Modification:NA
Type:PowerShell (.ps1)
Compatibility:Run with PowerShell
Tags:windows update, Windows,
Reference link:

https://gist.github.com/Grimthorr/44727ea8cf5d3df11cf7