Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

Releases: aaronparker/LatestUpdate

v3.0.171

25 Aug 06:53
Compare
Choose a tag to compare
  • Fixed an issue where Get-LatestAdobeFlashUpdate was not returning updates for Windows Server #51
  • Fixed an issue where Version property in output was not correct due to extracting wrong string from update title
  • Added System.Net.WebClient support to Save-LatestUpdate for faster downloads
  • Update module resource strings JSON
  • Update module description
  • Update Public Pester tests

v3.0.164

03 Aug 13:58
Compare
Choose a tag to compare
  • Added Revision property to Get-LatestCumulativeUpdate showing the Build and Revision of the cumulative update
  • Added Process block to Save-LatestUpdate to ensure full pipeline support
  • Updated Pester tests for Revision property and Should -BeOfType tests
  • Updated code formatting and consistency across private and public functions

v3.0.158

29 Jul 04:45
Compare
Choose a tag to compare
  • Added -Previous switch to Get-LatestCumulativeUpdate, Get-LatestServicingStackUpdate, Get-LatestAdobeFlashUpdate, and Get-LatestMonthlyRollup (and supporting private functions). -Previous specifies that the previous to the latest update should be returned so that currently offered updates from Windows Update can be returned in addition to the most recent update See https://www.osdeploy.com/blog/microsoft-update-releases for more info.
  • Added Pester tests for Previous switch

v3.0.147

15 Jul 07:05
Compare
Choose a tag to compare
  • Add -OperatingSystem and -Version to all public functions to narrow search results and improve performance
  • Add -OperatingSystem and -Version support to Get-LatestAdobeFlashUpdate to narrow search results for each OS and Windows 10 versions so that function returns all available updates
  • Add ParameterValues in module resource JSON to enable dynamic parameter values and removed hard-coded values in functions
  • Add Register-ArgumentCompleter in module script to register dynamic parameter values for Get functions
  • Update parameters for dynamic parameter values and validation to Get-LatestAdobeFlashUpdate, Get-LatestCumulativeUpdate, Get-LatestMonthlyRollup, Get-LatestNetFrameworkUpdate, Get-LatestServicingStackUpdate, Get-LatestWindowsDefenderUpdate
  • Add Get-ModuleResource to module script to retrieve module resource strings once during module import rather than in each function
  • Update functions to use $script:resourceStrings for function scope variable
  • Remove SupportsShouldProcess from Get and Private functions where -WhatIf support does not make sense
  • Removed ValueFromPipeline support on Private functions as pipeline support is not required
  • Splat Get-UpdateCatalogDownloadInfo parameters for readability
  • Add additional search string support to Invoke-UpdateCatalogSearch and Invoke-UpdateCatalogSearch.ps1 to narrow search results. Some update searches may return more than 25 results which can't easily be expanded to return all required results
  • Add additional exceptions to Try/Catch statements in Get-UpdateFeed to report correctly on potential exceptions
  • Update Get-LatestNetFrameworkUpdate to filter .NET Framework update results on the most recent month to ensure that only relevant updates are returned
  • Update Get-LatestServicingStackUpdate to better support Windows 8 and Windows 7
  • Update how Save-LatestUpdate writes to the pipeline to ensure correct format for output object
  • Escape "." in .NET Framework search string in module resource JSON for correct string matching
  • Ensure Public functions don't attempt to send Null to the pipeline
  • Add additional verbose output in Public functions
  • Update in-line help in Public functions
  • Update PublicFunctions.Tests.ps1 with tests dynamically driven by module resource JSON. This ensures that the tests do not require hard coded tests and use the same strings as the module

v3.0.131

12 Jun 01:04
Compare
Choose a tag to compare
  • Modify Save-LatestUpdate output with KB, Note and Path properties
  • Update Save-LatestUpdate BITS transfer progress display with update Note property
  • Add -Priority parameter to Save-LatestUpdate
  • Update public function tests
  • Start work on outputting additional Windows version updates from various functions (e.g. NET Framework, Adobe Flash etc.) This feature will be completed in a future release

v3.0.120

11 Jun 05:17
Compare
Choose a tag to compare
  • Added Get-LatestWindowsDefenderUpdate to retrieve updates for the Windows Defender antimalware platform
  • Additional Pester tests to support Get-LatestWindowsDefenderUpdate

v3.0.119

07 Jun 03:58
Compare
Choose a tag to compare
  • Fix Version property in Get-LatestMonthlyUpdate to reflect Windows 8.1/7 etc.
  • Remove -Version parameter from Get-LatestNetFrameworkUpdate and Get-LatestAdobeFlashUpdate
  • Change how we check for a successfully downloaded files in Save-LatestUpdate, because Start-BitsTransfer doesn't return HTTP codes
  • Fix Test-Path 'env:APPVEYOR_BUILD_FOLDER in PublicFunctions.Tests.ps1
  • Add additional Pester tests to PublicFunctions.Tests.ps1

v3.0.112

06 Jun 08:55
6e7ba07
Compare
Choose a tag to compare

A complete re-write of LatestUpdate to optimise code and ensure a more predictable response when querying the update feeds.

  • Public functions are now:
    • Get-LatestAdobeFlashUpdate
    • Get-LatestCumulativeUpdate
    • Get-LatestNetFrameworkUpdate (new)
    • Get-LatestServicingStackUpdate
    • Get-LatestMonthlyRollup (dedicated for Windows 8/7)
    • Save-LatestUpdate
  • External strings including feed URLs, search strings etc. are stored in an external manifest instead of embedded into the module
  • Simplified parameters
  • Import-LatestUpdate has been removed so that the function fully supports PowerShell Core. Importing an update into MDT can be easily scripted
  • Addresses issues #39 #38 #36 #37 #33 #32. Save-LatestUpdate has proxy support to address #16. Will add proxy support to other functions in a future update

v2.4.1.97

25 Mar 06:25
Compare
Choose a tag to compare

Public Functions

  • Update Microsoft update feed issue handling. The Microsoft Atom/RSS feeds https://support.microsoft.com/en-au/help/4089498 used by this module do not consistently include the required information to find the update list. Get-LatestUpdate, Get-LatestFlash and Get-LatestServicingStack now exit more gracefully if the required content cannot be found and write a warning to alert of the issue.

Private Functions

  • Add PSPath alias to Get-ValidPath

Tests

  • A check is performed before running Save-LatestUpdate to avoid download if the tests are not running in AppVeyor. This avoids having to wait for downloads on my slow home internet when running tests.

v2.4.0.89

11 Mar 00:47
Compare
Choose a tag to compare

Public Functions

  • Removed support for Windows 10 1511 (build 10586) in Get-LatestUpdate as updates for this build are no longer available in the update feed. Support for Windows 10 1511 finished in October 2017 with the last update being made available in April 2018
  • Updated Get-LatestUpdate to return only .MSU updates. Fixes issue #27 and #23
  • Account for missing architecture and version strings in Get-LatestFlash
  • Updated Import-LatestUpdate to create packages folders such as "Windows 10\1803", where the parent folder does not already exist. Fixes issue #30
  • Updated code to fix removing existing packages with -Clean in Import-LatestUpdate. Fixes issue #29
  • Updated LINK in comments in public functions to point to https://docs.stealthpuppy.com/latestupdate

Private Functions

  • Fix an issue where stepping through multiple KBs was not handled correctly in Get-LatestServicingStack
  • Add additional error checking to Get-LatestServicingStack
  • Update private function Get-UpdateDownloadArray to fix download URLs returned for .MSU and .EXE updaters for Windows 7
  • Update logic in private function New-MdtPackagesFolder to cater for multiple paths (e.g. parent\child)