Powershell – How to report on Windows Updates for a server over a yearly Period

For auditing purposes you will need to report on the updates install on a server and the install status. 

Below is a  powershell script that does just that


[email protected]('Unk','Installation','Uninstallation','Other')
[email protected]('Unk','In Progress','Succeeded','Succeeded With Errors','Failed','Aborted')

$updateSession=New-Object -ComObject Microsoft.Update.Session
$updateSearcher.QueryHistory(0, $historyCount) | 
    Select-Object Date,
                Title |
    Format-Table -AutoSize
GD Star Rating
GD Star Rating

Tags: audit, list, powershell, Windows Update, year

Trackback from your site.