This repository was archived by the owner on Feb 28, 2021. It is now read-only.
Releases: aaronparker/LatestUpdate
Releases · aaronparker/LatestUpdate
v3.0.171
- Fixed an issue where
Get-LatestAdobeFlashUpdatewas not returning updates for Windows Server #51 - Fixed an issue where
Versionproperty in output was not correct due to extracting wrong string from update title - Added System.Net.WebClient support to
Save-LatestUpdatefor faster downloads - Update module resource strings JSON
- Update module description
- Update Public Pester tests
v3.0.164
- Added
Revisionproperty toGet-LatestCumulativeUpdateshowing the Build and Revision of the cumulative update - Added
Processblock toSave-LatestUpdateto ensure full pipeline support - Updated Pester tests for
Revisionproperty andShould -BeOfTypetests - Updated code formatting and consistency across private and public functions
v3.0.158
- Added
-Previousswitch toGet-LatestCumulativeUpdate,Get-LatestServicingStackUpdate,Get-LatestAdobeFlashUpdate, andGet-LatestMonthlyRollup(and supporting private functions).-Previousspecifies 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
Previousswitch
v3.0.147
- Add
-OperatingSystemand-Versionto all public functions to narrow search results and improve performance - Add
-OperatingSystemand-Versionsupport toGet-LatestAdobeFlashUpdateto narrow search results for each OS and Windows 10 versions so that function returns all available updates - Add
ParameterValuesin module resource JSON to enable dynamic parameter values and removed hard-coded values in functions - Add
Register-ArgumentCompleterin 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-ModuleResourceto module script to retrieve module resource strings once during module import rather than in each function - Update functions to use
$script:resourceStringsfor function scope variable - Remove
SupportsShouldProcessfrom Get and Private functions where-WhatIfsupport does not make sense - Removed
ValueFromPipelinesupport on Private functions as pipeline support is not required - Splat
Get-UpdateCatalogDownloadInfoparameters for readability - Add additional search string support to
Invoke-UpdateCatalogSearchandInvoke-UpdateCatalogSearch.ps1to 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-UpdateFeedto report correctly on potential exceptions - Update
Get-LatestNetFrameworkUpdateto filter .NET Framework update results on the most recent month to ensure that only relevant updates are returned - Update
Get-LatestServicingStackUpdateto better support Windows 8 and Windows 7 - Update how
Save-LatestUpdatewrites 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.ps1with 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
- Modify
Save-LatestUpdateoutput with KB, Note and Path properties - Update
Save-LatestUpdateBITS transfer progress display with update Note property - Add
-Priorityparameter toSave-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
- Added
Get-LatestWindowsDefenderUpdateto retrieve updates for the Windows Defender antimalware platform - Additional Pester tests to support
Get-LatestWindowsDefenderUpdate
v3.0.119
- Fix
Versionproperty inGet-LatestMonthlyUpdateto reflect Windows 8.1/7 etc. - Remove
-Versionparameter fromGet-LatestNetFrameworkUpdateandGet-LatestAdobeFlashUpdate - Change how we check for a successfully downloaded files in
Save-LatestUpdate, becauseStart-BitsTransferdoesn't return HTTP codes - Fix
Test-Path 'env:APPVEYOR_BUILD_FOLDERinPublicFunctions.Tests.ps1 - Add additional Pester tests to
PublicFunctions.Tests.ps1
v3.0.112
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
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-LatestFlashandGet-LatestServicingStacknow exit more gracefully if the required content cannot be found and write a warning to alert of the issue.
Private Functions
- Add
PSPathalias toGet-ValidPath
Tests
- A check is performed before running
Save-LatestUpdateto 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
Public Functions
- Removed support for Windows 10 1511 (build 10586) in
Get-LatestUpdateas 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-LatestUpdateto return only .MSU updates. Fixes issue #27 and #23 - Account for missing architecture and version strings in
Get-LatestFlash - Updated
Import-LatestUpdateto 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-UpdateDownloadArrayto fix download URLs returned for .MSU and .EXE updaters for Windows 7 - Update logic in private function
New-MdtPackagesFolderto cater for multiple paths (e.g. parent\child)