Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
399 views
in Windows Server by 16 24 32
Can I get the list of all security updates installed in my Windows Server 2019 using PowerShell? I need to check the list of security updates that have been installed on Windows Server using PowerShell, How can I do that?

1 Answer

1 like 0 dislike
by 82 149 313
selected by
 
Best answer

Get Installed Updates in WIndows using PowerShell

You can use the below PowerShell script, to get all Updates installed in Windows Server

Get-CimInstance -Class win32_quickfixengineering

Output

Get Installed Updates in WIndows using PowerShell

Get Installed Security Updates in Windows using PowerShell

You can also filter the below PowerShell script, to get only the list of all Security Updates installed in Windows Server

Get-CimInstance -Class win32_quickfixengineering | Where-Object { $_.Description -eq "Security Update" }

Output

Get Installed security Updates in WIndows using PowerShell

Get Installed Hotfix in Windows using PowerShell

You can also filter the below PowerShell script, to get only the list of all Hotfix installed in Windows Server

Get-CimInstance -Class win32_quickfixengineering | Where-Object { $_.Description -eq "Hotfix" }

Output

Get Installed hotfix in WIndows using PowerShell

If you don’t ask, the answer is always NO!
...