Nice work... now its missing just one feature & that is to identify "Bundled update". like KB3000850 include three updates in bundle. I comment out this in script coz output of it was something like this... Code: List of applicable items on the machine: KB2899509 Bundled update: excel-x-none.cab_15.0.4667.1000 KB2899513 Bundled update: groove-x-none.cab_15.0.4667.1000 KB2899510 Bundled update: csi-x-none.cab_15.0.4667.1001 KB3000850 Bundled update: windows8.1-kb3000850-x64 Bundled update: windows8.1-kb3003057-x64 Bundled update: windows8.1-kb3014442-x64 Code: '# For Each strUpdate in colUpdates.Item^(i^).BundledUpdates>>%wucheck% '# Wscript.Echo "Bundled update: " ^& strUpdate>>%wucheck% '# Next>>%wucheck%
Yep, also noticed this, but afaik it shows dependencies, which might be interesting info but will cause several doubled Updates. Doesn't offer WU those nevertheless ?
WU don't show bundled updates using there names like kb3003057 butif not installed WU will show KB3000850 as required update & size will shown of 3057. So its very confusing for some as they try to reinstall 850 but system will say that its already installed & WU show it in required list......
OK, so it would be good to get them, without doubling the main KB . Will check this... At least WindowsUpdate.log offers links for kb3003057 and kb3014442 .
v.0.03 Released: Changelog v.0.03 Added Double links cleansing step v.0.02 Added check for Bundled Updates v.0.01 initial release For the sakes of shortening the download process and having a links TXT file without doubles ...
Great guys! now what if a computer does not have internet? Idea: If the script does not detect internet it should ask if you want to install the current downloaded updates. or give a choice in a main menu to do so.
v.0.05 Released: Changelog v.0.05 Added several more choices (now it's possible to Exit after all Stages) Added a Restart Option after Update Install Fast release cycle will end now hopefully .
First its nice code & installing only required updates on system.... Problem with this script is powershell file .ps1 execution... To execute it execution policy need to be set & is not good idea to set it on every pc before executing this script... if there is no other way out then you can set policy as Unrestricted & then again set it to default..... And for happy ending would be nice to save text file in root having list of installed & downloaded patches....
Is this WU Installer for Win7 and up or Win8 and up?? I ran the 2.7 version on my Win7 yesterday and was getting different results every time I ran it. Could be just me But then I remembered that this all started in a Win8 forum.
Will try this on a new laptop soon I was thinking on this with a GUI using C# version and a database in sqlite, but s1ave77's script is by far more transparent.
You're right, was changed for an experiment, will set the policy only for execution: Code: powershell -executionpolicy bypass -File %clean% should be best option . Also needed to change the WU Log query a bit. So far i didn't get the links you showed, need to check this. Needs some little testing then v0.06 will be released. Implemented option for manually querying the update log.