Powershell – list installed updates

Save this as as for example find-windowsUpdate.ps1 script:

$computer = read-host "Enter computer name"
$patch = read-host "Specify update KB number or enter * to list all updates"
Get-WmiObject -Class Win32_QuickFixEngineering -ComputerName $computer | select description,hotfixid,installedon | where hotfixid -eq $patch


usage example:



Leave a Reply

Your email address will not be published. Required fields are marked *

four × 2 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.