Comments (5)
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.
It does return results with "Windows Server 2019" in the name:
Also searching for the latest KB returns the windows server 2016/2019 etc wanted results:
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.
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:
Also in Powershell 5, the difference is a lot bigger:
These test result are produced by the following small script: https://pastebin.com/0iksKb0w
from latestupdate.
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.
That would be best I guess. Would also help with implementing proxy support.
from latestupdate.
Related Issues (20)
- Get-LatestServicingStack does not return latest available update. HOT 5
- Dead link
- Add Support for 1809 HOT 1
- Unable to find type [System.Switch] and multiple URLs HOT 1
- bits-transfer responsecode check HOT 3
- Version param not honored HOT 8
- Get-LatestAdobeFlashUpdate 1809 do not return x64 HOT 8
- Export all URs for 2008/2012
- Get-LatestServicingStack -OperatingSystem Windows8 throws an error
- Get-LatestCumulativeUpdate not working for 1909 HOT 4
- Latest updates are filtered in next month
- Get Latest CU for SQL Server
- Download URL sometimes returns null HOT 2
- 20h1 support HOT 2
- Get-LatestNetFrameworkUpdate does not have -Version parameter HOT 1
- Update Psgallery to recent version HOT 1
- Microsoft is making changes to how update notes are published that will impact LatestUpdate
- Get-UpdateCatalogDownloadInfo sometimes returns null, which later causes an exception
- Get-LatestServicingStackUpdate -OperatingSystem WindowsServer fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latestupdate.