potatoqualitee / kbupdate

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

Support for force scanning against Windows Update #217

Closed codaamok closed 1 year ago

codaamok commented 1 year ago

Hey, I hope you're well! Don't merge just yet, I have a question 😄

I have done two things in this PR:

Do I need to do anything special to build the module in order to test with it? I still need to some more testing but initial testing proves OK. Right now I'm just modifying locally and importing the module from the repository.

potatoqualitee commented 1 year ago

thanks so much @codaamok! no, you do not need anything special other than sometimes using -Force when using Import-Module to ensure your changes are enabled. This change looks solid and the integration tests pass 😊

codaamok commented 1 year ago

I made some more changes:

Let me know your thoughts

codaamok commented 1 year ago

Oh I think I'll add -UseWindowsUpdate in Install-KbUpdate, too

potatoqualitee commented 1 year ago

Thanks again, this code looks great -- appreciate the added functionality 👍🏼 Will merge and publish once tests pass again.