Another way to check Update Installed via Powershell

I have to check if machine has MS March update installed, and SCCM cannot make my job simpler 🙁 So I created a new compliance rule to check the result, here is the code: $error.clear() try { $Session = New-Object -ComObject “Microsoft.Update.Session” $Searcher = $Session.CreateUpdateSearcher() $historyCount = $Searcher.GetTotalHistoryCount() $Searcher.QueryHistory(0, $historyCount) | Select-Object Title, Description, Date, […]