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), Windows Defender updates and the latest Adobe Flash Player updates from the Microsoft Update History pages. 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.
Regularly updated documentation for the module is located at https://docs.stealthpuppy.com/docs/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.
Verison 3 of LatestUpdate
has been re-written and includes full support for PowerShell Core.
The VcRedist module is published to the PowerShell Gallery and can be found here: LatestUpdate. Install the module from the gallery with:
Install-Module -Name LatestUpdate -Force
This module uses code and inspiration from these sources: