Git Product home page Git Product logo

Comments (5)

aaronparker avatar aaronparker commented on May 31, 2024

If you run this with -Verbose, you'll see that it builds a search query for the Catalog: https://www.catalog.update.microsoft.com/Search.aspx?q=KB4503308+1809. From the feed this is the latest update. The catalog doesn't return any updates with Windows Server 2019 in the title.

Even a search for "adobe flash 1809" doesn't return Windows Server 2019 updates either. Searching for "2016" or "2019" does return updates.

Windows 10 x64 updates are applicable to Windows Server 2019 of course. I don't really want to add code just for 2016/2019 when the Windows 10 x64 updates apply.

from latestupdate.

Fonta avatar Fonta commented on May 31, 2024

It does return results with "Windows Server 2019" in the name:
image

Also searching for the latest KB returns the windows server 2016/2019 etc wanted results:
image

Before your changes, it did return these results. So currently the function is returning incomplete/incorrect results.
Using it like -OS Windows10 -Version 1809 does not return the wanted results anymore.

from latestupdate.

Fonta avatar Fonta commented on May 31, 2024

Thanks for merging my PR. I was just thinking that it might be an idea to make the default fallback on PSCore to webclient as downloading is faster than using WebRequest as you can see in the screenshot underneath:
image

Also in Powershell 5, the difference is a lot bigger:
image

These test result are produced by the following small script: https://pastebin.com/0iksKb0w

from latestupdate.

aaronparker avatar aaronparker commented on May 31, 2024

I might look at using WebClient the default for all requests in the release after next. Querying the catalog could be faster and WebClient might help.

from latestupdate.

Fonta avatar Fonta commented on May 31, 2024

That would be best I guess. Would also help with implementing proxy support.

from latestupdate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.