Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PowerShell script that will download monthly updates from Microsoft Update Catalog into folders

Status
Not open for further replies.

ee1242.ps

IS-IT--Management
Sep 6, 2020
1
US
Every month when the latest Microsoft OS updates are released I have to go to the Microsoft Update Catalog website ( and do the following:

1. Type in the month and the OS version of the updates that I want to download (e.g. 2020-09 2012 R2).

2. Copy the names of each of the updates and create folders with these names on my local computer

3. Download the updates into the folder names matching the updates

I have to repeat this process to manually download updates for Server 2008R2, Server 2012R2, Server 2016, and Server 2019.

This has to be done since these updates don't always appear within the SCCM Software Center console and because it always takes the SCCM team around a month to approve the updates after they have been released from Microsoft. I always need to install the latest updates whenever I patch servers.

Once these updates have been downloaded I put these updates into a folder on a NAS so that these updates can be copied over to servers that need them.

So I'm hoping that a PowerShell script can be written where I can provide the month and OS version (e.g. 2020-09 2012 R2) that will then:

1. Create the folder names corresponding to the updates in the target folder

2. Download the updates into the folder names matching the updates


Microsoft-updates_bc6iuc.png
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top