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

Update Save-KbUpdate.ps1 #235

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

sepaugh
Copy link

@sepaugh sepaugh commented Oct 5, 2024

On line 234, the "Sort-Object -Unique" would often return only one result from a multiple object result from Get-KBUpdate. For example, testing KB5035285, which returns 7 files, would only actually download one of the files. Most of the properties were the same across the board, so only one was selected as "unique".

Set the unique sort to the UpdateID, which should actually be unique across each file, and we'll download them all.

On line 234, the "Sort-Object -Unique" would often return only one result from a multiple object result from Get-KBUpdate. For example, testing KB5035285, which returns 7 files, would only actually download one of the files. Most of the properties were the same across the board, so only one was selected as "unique".

Set the unique sort to the UpdateID, which should actually be unique across each file.
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

Successfully merging this pull request may close these issues.

1 participant