potatoqualitee / kbupdate

🛡 KB Viewer, Saver, Installer and Uninstaller
MIT License
326 stars 48 forks source link

Offline update code doesn't seem to work. #229

Open tsherrington opened 7 months ago

tsherrington commented 7 months ago

When I run Get-KbUpdate -Since (Get-Date).AddDays(-30) -Architecture x64 | Out-GridView -Passthru | Save-KbUpdate -Path C:\temp\WindowsUpdates I get the error "WARNING: [21:04:35][Save-KbUpdate] You must specify a KB name or pipe in results from Get-KbUpdate"

If I run Get-KbUpdate -Since (Get-Date).AddDays(-30) -Architecture x64 | Out-GridView I don't get any results, so I assume the issue is that it isn't finding anything.

What am I doing wrong?

argonautofpain commented 6 months ago

I found setting the (Get-Date).AddDays(-30) to something like -180 worked to find updates. This makes me question if all the updates are pulling.