New
#1290
You need to alter the script to separate the two options and create one for each option.
The way it is right now, if you haven't cleared your event logs, you will always be getting option 2, which contains the UWP apps updates, which are not included in Windows Update database.
If you give me a couple of minutes, I'll upload them, for you.
@IronZorg89
Here you are. All 3 of them:
Original script, which gets updates from both Microsoft Update list and Event logs, compares them and outputs the most complete list. (If event logs have not been cleared the list from event logs will always be the one presented, as it contains the updates to the UWP apps, which are not included in Microsoft Update)
Get-InstalledUpdates.ps1
Option 1, which gets updates from the Microsoft Update list only. Get-MUInstalledUpdates.ps1
Option 2, which gets updates from the Windows Event logs, only. Get-EVTInstalledUpdates.ps1