Skip to content
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

Open
tsherrington opened this issue Dec 13, 2023 · 1 comment
Open

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

tsherrington opened this issue Dec 13, 2023 · 1 comment

Comments

@tsherrington
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants