Skip to content

A module to retrieve, download and import Windows 10 Cumulative Updates

License

Notifications You must be signed in to change notification settings

testworksau/LatestUpdate

 
 

Repository files navigation

LatestUpdate

Build status GitHub Release PowerShell Gallery PowerShell Gallery Version

About

This repository is a 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.

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.

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 Install-Module.

Documentation

Full documentation for the module is located at https://docs.stealthpuppy.com/latestupdate/

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 or please use the previous scripts instead.

PowerShell Core

Get-LatestUpdate and Save-LatestUpdate support PowerShell Core; however, because Import-LatestUpdate requires the MDT Workbench, full support for PowerShell Core will depend on Microsoft updating the MDT PowerShell module to support it.

Known Issues

  • On PowerShell Core, the incorrect Note property is returned; however the correct update URL is returned OK.

About

A module to retrieve, download and import Windows 10 Cumulative Updates

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 100.0%