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 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 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
