LatestUpdate

About

A module for retrieving the latest Windows 10 / Windows Server 2016, 2019, Semi Annual Channel Cumulative Updates, Servicing Stack Updates, .NET Framework Cumulative Updates, the Monthly Rollups for 8.1 / 7 (and Windows Server 2012 R2, 2008 R2) and the latest Adobe Flash Player updates from the Microsoft Update History page. In addition, the module provides a function for downloading the update files locally.

Importing a cumulative update into the Packages nodes in an MDT share enables updates during the offline phase of Windows setup, speeding up an installation of Windows. Updates can also be applied directly to a WIM.

The module queries the Windows update history feeds and returns details for the latest update including the download URL from the Microsoft Update Catalog, making it easy to find the latest update for your target operating system.

Why

Importing a cumulative update into the Packages nodes in an MDT share enables updates during the offline phase of Windows setup, speeding up an installation of Windows. This makes deploying Windows faster than if you were to rely soley on Windows Update or WSUS to apply the updates during operating system deployment.

Updates could also be applied directly to a WIM.

Supported Platforms

LatestUpdate supports PowerShell 5.0 and above and is tested on macOS, Windows 10 and Windows Server 2016. Some basic testing has been done on Windows 7 with WMF 5.1. If you are running an earlier version of PowerShell, update to the latest release of the Windows Management Framework.

PowerShell Core

Verison 3 of LatestUpdate has been re-written and includes full support for PowerShell Core.

Acknowledgements

This module uses code and inspiration from these sources: