LatestUpdate is a PowerShell module for retrieving the latest Cumulative Update for Windows 10 / Windows Server builds, downloading the update file and importing it into a Microsoft Deployment Toolkit deployment share for speeding up creating reference images or Windows deployments. Windows Server 2012 R2, Windows 8.1, Windows Server 2008 R2 and Windows 7 Monthly Updates can also be queried for and downloaded.
The module queries the Windows update history pages and returns details for the latest update including the download URL, making it easy to find the latest update for your target operating system.
This module is a re-write of the Update scripts found here: https://github.com/aaronparker/MDT/tree/master/Updates. Re-writing them as a PowerShell module enables better code management and publishing to the PowerShell Gallery for easier installation with
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.