Tip of the Day: Using PowerShell to Obtain Update Information

Today's tip...

Here's a quick way to obtain update information.

To search for all updates:

$Session = New-Object -ComObject Microsoft.Update.Session

$Searcher = $Session.CreateUpdateSearcher()

$Searcher.Search("IsInstalled=1").Updates | ft -a title

Example Output:

To search for a specific update:

$Searcher.Search("IsInstalled=1").Updates | Where {$_.Title -like "*KB4016509*"?} | ft title

Example Output: