Get Installed Updates in Windows in Last Month using PowerShell
You can use the below PowerShell script, to get all Updates installed in Windows Server Last Month
Get-CimInstance -Class win32_quickfixengineering | Where-Object { $_.InstalledOn -gt (Get-Date).AddMonths(-1) }
Output
Get Installed Security Updates in Windows in the Last Month using PowerShell
You can use the below PowerShell script, to get all Security Updates installed in Windows Server Last Month
Get-CimInstance -Class win32_quickfixengineering | Where-Object { $_.Description -eq "Security Update" -and $_.InstalledOn -gt (Get-Date).AddMonths(-1) }
Output
Get Installed Hotfix in Windows in the Last Month using PowerShell
You can use the below PowerShell script, to get all Hotfixes installed in Windows Server Last Month
Get-CimInstance -Class win32_quickfixengineering | Where-Object { $_.Description -eq "Hotfix" -and $_.InstalledOn -gt (Get-Date).AddMonths(-1) }
Output