Once you run this PowerShell Script, it’ll give you an output where it shows how many Windows updates have been missed, the last installed update and its date and time also.
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: |