This repository hosts a module for retrieving the latest Cumulative Update, Monthly Rollups, Servicing Stack and Adobe Flash Player updates for various Windows builds from the Microsoft Update Catalog. In addition, it provides functions for downloading the update files and importing them into a Microsoft Deployment Toolkit deployment share for speeding the creation of reference images or Windows deployments.
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 could also be applied directly to a WIM.
Regularly updated documentation for the module is located at https://docs.stealthpuppy.com/latestupdate/
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 or please use the previous scripts instead.
Get-LatestUpdate
, Get-LatestFlash
, Get-LatestServicingStack
and Save-LatestUpdate
support PowerShell Core; however, because Import-LatestUpdate
requires the MDT Workbench, Import-LatestUpdate
only runs under Windows PowerShell.