karlsnooks
Windows Specialist
- May 31, 2012
- 94
Following powershell script will put InstalledUpdates.txt on your DESKTOP screen which has date, name, and description of your installed updates.
To run a powershell script, please see:
https://www.sysnative.com/forums/showthread.php/4022-HOW-TO-RUN-A-POWERSHELL-SCRIPT
PHP:
# Places INSTALLEDUPDATES.TXT on your DESKTOP screen
$Session = New-Object -ComObject Microsoft.Update.Session
$Searcher = $Session.CreateUpdateSearcher()
$HistoryCount = $Searcher.GetTotalHistoryCount()
$Searcher.QueryHistory(1,$HistoryCount) |
Select-Object Date, Title, Description |
fl > $env:userprofile\desktop\InstalledUpdates.txt
EXIT
EXIT
To run a powershell script, please see:
https://www.sysnative.com/forums/showthread.php/4022-HOW-TO-RUN-A-POWERSHELL-SCRIPT