-
Notifications
You must be signed in to change notification settings - Fork 71
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
How To Install Specific KBs? #94
Comments
Try with a -in or -contains operator and let me know how it goes. |
I tried this excluding update and still all updates get installed:
still shows (not skipping):
|
using
Is it possible to exclude only the specific KB and use the "2023-08 Cumulative Update" instead? |
ok got it. The
|
Following up on this , how can I install specific KBs , I tried with I got the exlcusion , but how can i pass list of KB IDs to the script to form the expression ? Please advise . Will something like work ?
|
@tusharsappal did you find a way to install specific KBs |
README indicates:
I need to install a specific KB (or two, if applicable). Looking at the linked docs, I noticed that IUpdate::get_KBArticleIDs is a method that returns an IStringCollection - So, assuming that getter fronts a property of the same name here's what I tried:
This gave the following error:
Now, either this collection doesn't have a Contains method, or I need to typecast this before I can call the Contains method.
So, I did this:
And it apparently works. But, uh, does it have to be this complicated? Can we get maybe a syntax sugar to wrap this up in a nice little bow?
The text was updated successfully, but these errors were encountered: