Link to home
Start Free TrialLog in
Avatar of Kelly Garcia
Kelly GarciaFlag for United Kingdom of Great Britain and Northern Ireland

asked on

powershell script for downloading latest security updates

Hi,

Is there a powershell script for downloading the latest security update for an OS. We have windows 2012 R2, windows 2008 R2, depending on the OS type and architecture, I want to download the latest security update, I already have a script for installing the updates by copying the patch on the server then install using psexec.

Thank you in advance,

kay
Avatar of Michael B. Smith
Michael B. Smith
Flag of United States of America image

Unfortunately not. The problem is in identifying the updates. That's why there are tools like WSUS.
Avatar of Kelly Garcia

ASKER

is there a way i can download the packages using something like invoke-webrequest, etc?
ASKER CERTIFIED SOLUTION
Avatar of Michael B. Smith
Michael B. Smith
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i have a powershell script to detect the os and architecture type, i then want it to automatically select the latest security patch from microsoft
there must be a way to do this