The first link is the most optimal as it has the smallest footprint. ![]() While this script is slick, it doesn't meet my needs due to the 1GB download required. This file has to be downloaded on every use in order to obtain the most recent catalog information. That's a lot of download bandwidth needed to use this regularly or pushed to multiple machines through our remote management tools. This one would work for my use, but it is about a 1GB download for that cab file just to extract a 90 MB xml. ![]() I also found an alternate method of extracting the catalog xml from the WSUS cab file here: I found that someone already wrote a partial script to do that here: I could then filter out all the preview updates and be left with a small number that are needed. So for instance, I could specify "2020-09" (Updates for September 2020), for the query, and it would return back a matching list of all KBs along with download links that correspond with the system. ![]() My goal with all of this is to have a way to find the updates which match the computer the script is ran on, and possibly check to see that an update is installed or install a specific update without needing to specify a KB number for each and every platform. I've been doing some digging off and on with how to get Powershell to query the Microsoft Update Catalog automatically.
0 Comments
Leave a Reply. |