-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offline update code doesn't seem to work. #229
Comments
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. |
This happens because the local database is not updated and there is no way to update it without modifying the Get-kbupdate file, I wrote the solution in this post : #223 |
Thank you for this. With that change, I can update the local DB. Once the DB is updated, I'm not able to use save-kbupdate though: PS C:\temp> Get-KbUpdate -Since (Get-Date).AddDays(-30) -Architecture x64 | Save-KbUpdate -Path C:\temp Save-KbUpdate : Cannot bind argument to parameter 'Link' because it is null. |
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?
The text was updated successfully, but these errors were encountered: