New
#1270
in PowerShell type
Code:cd $env:UserProfile\Desktop
Just use the script for a quick look of the 2-hour update setting.
Let's see if and how it works over a metered connection.
I'll do that but what I usually do to is I'll check here in WD expecting to see the update having happened:
And then I'll check on show/hide tool to confirm.. usually there is something sitting there if nothing has happened:
It's now 5:22 Pm so this is a new update. The 1PM TS grab cleared the update that was there then which I verified at that time. I expect in an hour or so for the time to update above in WD and for this update to disappear in Hide/Show. Assuming the powershell works at the 2 hour rate.
Exactly the same...!
The reason of its existence is in case, for any reason, you delete the history of Windows Update. In that case you won't be able to see any updates.
The scripts gets updates not from the Windows Update database but from the events logs. Which if you don't clear you'll always have all the updates from the date of the installation of the latest Feature Update.
Besides that, it gives all the history, not only the last 50 updates, as WU does!
Just for fun go to the line where it says
$OutputCollection += $output | where Title -Match "Windows Defender",
make the following change, save it and run it:
Code:$OutputCollection += $output #| where Title -Match "Windows Defender"