Giter Site home page Giter Site logo

aaronparker / latestupdate Goto Github PK

View Code? Open in Web Editor NEW
84.0 10.0 23.0 697 KB

A module to retrieve and download Windows 10 current updates from the Microsoft Update Catalog

Home Page: https://docs.stealthpuppy.com/docs/latestupdate/

License: MIT License

PowerShell 100.00%
windows-10 updates cumulative-update monthly-rollups powershell net-framework adobe-flash powershell-gallery microsoft-update-catalog

latestupdate's Introduction

LatestUpdate

License GitHub Release PowerShell Gallery Version PowerShell Gallery

Master build status Development build status

About

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.

Documentation

Regularly updated documentation for the module is located at https://docs.stealthpuppy.com/docs/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.

PowerShell Core

Verison 3 of LatestUpdate has been re-written and includes full support for PowerShell Core.

PowerShell Gallery

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

Acknowledgements

This module uses code and inspiration from these sources:

latestupdate's People

Contributors

aaronparker avatar adamgrosstx avatar bladefirelight avatar fonta avatar testworksau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

latestupdate's Issues

Using your code

Hello, @aaronparker!

Can I use parts of your code in my project (https://github.com/pvs043/cMDTBuildLab)?

1. I'm really liked the design of badges in your README.md.
2. I'm plan to add a script to my project for download the latest updates of Windows 10 2016 LTSB using your module.
3. Most likely, it will need to make the import update function into the MDT Applications (online) instead of the Packages (offline).

Thanks for your job!

Proxy?

Please include proxy support for this module.

SharePath isn't a valid Parameter

When using Import-LatestUpdate to import into MDT (like listed in Example 1), I am getting an error that the SharePath parameter is not valid ("A parameter cannot be found that matches parameter name 'SharePath'. Upon further research (looking at the help file) I found that the example (both on https://docs.stealthpuppy.com/latestupdate/usage/importing-updates-into-mdt and in the help file) is incorrect and should use DeployRoot instead.

So either the examples need updated to use DeployRoot or the parameter needs updated to be SharePath.

capture

Get-LatestAdobeFlashUpdate 1809 do not return x64

Expected Behavior

Example for x86 is working. Also Version 1607 for x64 etc..

PS C:> Get-LatestAdobeFlashUpdate | Where-Object { ($.Architecture -eq 'x86') -and ($.Note -like 'Windows 101809*')}

KB : KB4503308
Note : 2019-06 Security Update for Adobe Flash Player for Windows 10 Version 1809 for x86-based Systems (KB4503
308)
URL : http://download.windowsupdate.com/c/msdownload/update/software/secu/2019/06/windows10.0-kb4503308-x86_4f
c8ff515a3c3dc94c2a5aa85af287d54fc555c6.msu
Version : 1809
Architecture : x86

Current Behavior

Returning nothing
PS C:> Get-LatestAdobeFlashUpdate | Where-Object { ($.Architecture -eq 'x64') -and ($.Note -like 'Windows 101809*')}
PS C:>

Note! 1809 x64 Not listed when running only: Get-LatestAdobeFlashUpdate

Failure Information (for bugs)

Please help provide information about the failure if this is a bug by issuing the command using the -Verbose command.

No Output !

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • LatestUpdate Version: Use Get-Module -ListAvailable LatestUpdate = 3.0.131
  • PowerShell Version: Use Get-PSVersion = See below
  • Operating System: Windows 10 1809

PSVersion 5.1.17763.503
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.503
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Failure Logs

Please include any relevant log snippets or files here.

Add Support for 1809

With 1903 released GetLatest does not currently Support it.

Add support for Get-LatestUpdate -WindowsVersion Windows10 -Build '18362'

An exception is raised when the Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete

Expected Behavior

This script should be able to run successfully when the machine running the script has no Internet Explorer (as in Windows Server Core) or IE has not made it past the first launch wizard (as is the case when running the script under a System account, or if the user does not use IE).

Current Behavior

An exception is raised.

Failure Information (for bugs)

Invoke-WebRequest : The response content cannot be parsed because the Internet 
Explorer engine is not available, or Internet Explorer's first-launch 
configuration is not complete. Specify the UseBasicParsing parameter and try 
again. 
At C:\Program Files\WindowsPowerShell\Modules\LatestUpdate\1.1.0.38\Public\Get-
LatestUpdate.ps1:164 char:18
+         $kbID = (Invoke-WebRequest -Uri $StartKB).Content |
+                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotImplemented: (:) [Invoke-WebRequest], NotSupp 
   ortedException
    + FullyQualifiedErrorId : WebCmdletIEDomNotSupportedException,Microsoft.Po 
   werShell.Commands.InvokeWebRequestCommand

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Run the script on a machine that hasn't had the IE first run wizard completed.
  2. Alternatively, run the script on Windows Server Core
  3. Alternatively, run the script on PowerShell 6 where all requests will use the equivalent of -UseBasicParsing

Context

See the definition of UseBasicParsing here:
https://ss64.com/ps/invoke-webrequest.html

This parameter is required when Internet Explorer is not installed on the computers, such as on a Server Core installation of a Windows Server operating system.

And note the reference to this parameter in PowerShell 6

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-6

This parameter has been deprecated. Beginning with PowerShell 6.0.0, all Web requests use basic parsing only. This parameter is included for backwards compatibility only and any use of it will have no effect on the operation of the cmdlet.

Get-LatestNetFrameworkUpdate does not have -Version parameter

Expected Behavior

Ability to specify LatestNetFrameworkUpdate -Version 1709 and only see updates for Windows 10 Version 1709

Current Behavior

Error message:

Get-LatestNetFrameworkUpdate : A parameter cannot be found that matches parameter name 'version'.

Failure Information (for bugs)

If no -Version parameter is specified, the command loops through ALL the available .NET Framework updates

Please help provide information about the failure if this is a bug by issuing the command using the -Verbose command.

Paste the verbose output from the command here

Get-LatestNetFrameworkUpdate : A parameter cannot be found that matches parameter name 'version'.
At line:1 char:30

  • Get-LatestNetFrameworkUpdate -version
  •                          ~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Get-LatestNetFrameworkUpdate], ParameterBindingException
    • FullyQualifiedErrorId : NamedParameterNotFound,Get-LatestNetFrameworkUpdate

If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Step 1
  2. Step 2
  3. Step 3 (and so on)

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • LatestUpdate Version: 3.0.171
  • PowerShell Version: 5.1.19041.1
  • Operating System: Windows 10 Version 2004 X64

Failure Logs

Please include any relevant log snippets or files here.

Get-UpdateCatalogDownloadInfo sometimes returns null, which later causes an exception

Occasionally, LatestUpdate will sometimes throw an exception.

During Get-LatestServicingStackUpdate.ps1, line 97 throws an exception, stating that $downloadInfo is null.

$downloadInfo | Add-Member -NotePropertyName "Version" -NotePropertyValue $ver

This variable is supposed to be set on line 94 while calling Get-UpdateCatalogDownloadInfo, but it looks like this function occasionally returns null:
$downloadInfo = Get-UpdateCatalogDownloadInfo @downloadInfoParams

Get-LatestFlash is not returning latest update across all OS

Expected Behavior

Get-LatestFlash returns latest available update along with any required non superseded updates.

Current Behavior

Get-LatestFlash is only returning update for October 2018 across all OS. I think that KB4462930 is not included in the monthly package so I think that is it probably correct to be offered but the latest monthly package which appears to be almost cumulative in all but the title is not being offered.

Atom feed suggests information is present to be returned here is one example..

<entry>
    <title>Security Update for Adobe Flash Player: March 12, 2019</title>
    <id>urn:docid:4489907</id>
    <updated>2019-03-12T17:10:10Z</updated>
    <content type="text">Fixes vulnerabilities in Adobe Flash Player on certain versions of Windows. </content>
    <link href="https://support.microsoft.com/help/4489907" />
  </entry>

Failure Information (for bugs)

PS C:\Windows\system32> Get-LatestFlash -Verbose
VERBOSE: Downloading feed of updates https://support.microsoft.com/app/content/api/content/feeds/sap/en-us/6ae59d69-36fc-8e4d-23dd-631d98bf74a9/atom.
VERBOSE: GET https://support.microsoft.com/app/content/api/content/feeds/sap/en-us/6ae59d69-36fc-8e4d-23dd-631d98bf74a9/atom with 0-byte payload
VERBOSE: received -1-byte response of content type application/atom+xml; charset=utf-8
VERBOSE: Reading RSS XML from C:\Users\ASHLEY~1.ADM\AppData\Local\Temp\1nqtpd3b.1ez.
VERBOSE: Deleting C:\Users\ASHLEY~1.ADM\AppData\Local\Temp\1nqtpd3b.1ez.
VERBOSE: Searching http://www.catalog.update.microsoft.com/Search.aspx?q=KB4462930.
VERBOSE: GET http://www.catalog.update.microsoft.com/Search.aspx?q=KB4462930 with 0-byte payload
VERBOSE: received 105259-byte response of content type text/html; charset=utf-8
VERBOSE: Contructing temporary table with KB, ID and URL.
VERBOSE: Checking Microsoft Update Catalog for Id: a15bd597-1c77-467c-8880-4502d754cdf4.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32173-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_aa56f192a75aac0029cd9a39d5ebf3eb625feebd.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: 219441c8-ee87-47d2-865a-07bde7870989.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32180-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-arm64_4331c3089be4dfd515059818f8b6c015c5643ad0.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: f1cdbdf2-91ba-416e-bccf-8cfabdcecc8a.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32102-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x86_ee44cbbd86b3271990ccc472760f0228094131e5.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: 3b80c9f0-1416-4f38-bc39-e68ec91b71fa.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32172-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_b22236a150c0fffaa1b132c7dfbbc844ad6c45e3.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: b8ea1a5b-3636-4905-ae4b-d171014df7a6.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32207-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_b22236a150c0fffaa1b132c7dfbbc844ad6c45e3.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: eecd3528-0fdc-4296-b164-71d4f4786d2e.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32182-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-arm64_332ecfb5958a87eb6e37206cbd9cf1aa2339659e.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: b2ef7350-9a3c-4471-9523-cb7c9b9be21b.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32180-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-arm64_24b09da230c6a260882df62d211e6d1a26ad5dc0.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: de111e67-04cb-40b6-811e-c0fec6aa5041.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32102-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x86_f3fb8219e526d228e9ae9b44973d7d73376f3367.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: fe76c944-eeea-43f7-8b29-bb74d10a34cb.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32113-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x86_72c899f691403365053da2c53d1097f5065da3c7.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: c32fc63b-de7a-49e3-9129-ae543d281446.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32102-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x86_b1bd42a524bb4abbd08f66090b69f9432a756de2.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: 97ad809a-0df1-432c-b16c-948bc610b632.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32172-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_3a4a1cada2d518585873b6cfdad8b4e7d3ac75cf.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: afadc5b5-d984-4ad2-908c-75eb57be1422.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32102-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x86_cc8938fa7fd394c8948d1b5dfc84de11715edb8a.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: c9592c09-3f5f-4e82-89ce-63ab15bdb770.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32102-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x86_380e274de951748a3276fe3db5e864e878737111.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: 71af9579-b9ba-433a-8eb6-62be02512547.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32172-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_aa56f192a75aac0029cd9a39d5ebf3eb625feebd.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: 5808878a-e039-45be-9efa-626fe6c768ee.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32172-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_283d641ac17b77160816aa7dd16da317df6bc72e.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: 3746fcb6-6fce-44f1-9ecc-5d88004e80fb.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32181-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_b8f616bfe68d36da56bb5451256ac8b6fb99d986.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: 6ed42ebf-9bd1-436c-9d3d-390c04aa0a58.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32172-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_07407891b70292a936ebf6f115c2b0a410b44654.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: 32c3228d-6964-40e2-ba8a-d82487b11df0.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32208-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows8-rt-kb4462930-x64_8eae6587ff9d81d111d9db2a86f6a107cc5c576e.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: 7d740e57-8469-46c9-8392-9f365d5a7841.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32142-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows8-rt-kb4462930-x86_a6d56751867ed0468280475125f4e4d0ea2a76da.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: 7aba6a05-fb0e-4002-a1d1-eb272c2df7c3.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32112-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows8.1-kb4462930-x64_bbaadf6e2537a54b7b277ab8349dfd1b7aa354c8.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: 4240aaf5-b99a-462f-95d6-76b3088735e1.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32105-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows8-rt-kb4462930-x64_8eae6587ff9d81d111d9db2a86f6a107cc5c576e.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: 29fad9f7-bf82-413a-90c6-4537d3141789.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32067-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows8.1-kb4462930-x86_7762ebdf20fb0b1fb64cbc92ddba4582bc3fac0a.msu to output.
VERBOSE: Checking Microsoft Update Catalog for Id: f0bd488b-05da-416c-b619-10bca39c9cd8.
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32131-byte response of content type text/html; charset=utf-8
VERBOSE: Adding http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows8.1-kb4462930-x64_bbaadf6e2537a54b7b277ab8349dfd1b7aa354c8.msu to output.


KB      : KB4462930
Arch    : x86
Version : 8Embedded
Note    : Update for Adobe Flash Player for Windows Embedded 8 standard (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows8-rt-kb4462930-x86_a6d56751867ed0468280475125f4e4d0ea2a76da.msu

KB      : KB4462930
Arch    : x64
Version : 8Embedded
Note    : Update for Adobe Flash Player for Windows Embedded 8 standard for x64-based Systems (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows8-rt-kb4462930-x64_8eae6587ff9d81d111d9db2a86f6a107cc5c576e.msu

KB      : KB4462930
Arch    : x64
Version : 8.1
Note    : Update for Adobe Flash Player for Windows 8.1 for x64-based Systems (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows8.1-kb4462930-x64_bbaadf6e2537a54b7b277ab8349dfd1b7aa354c8.msu

KB      : KB4462930
Arch    : x86
Version : 8.1
Note    : Update for Adobe Flash Player for Windows 8.1 (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows8.1-kb4462930-x86_7762ebdf20fb0b1fb64cbc92ddba4582bc3fac0a.msu

KB      : KB4462930
Arch    : x64
Version : 2012R2
Note    : Update for Adobe Flash Player for Windows Server 2012 R2 (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows8.1-kb4462930-x64_bbaadf6e2537a54b7b277ab8349dfd1b7aa354c8.msu

KB      : KB4462930
Arch    : x64
Version : 2012
Note    : Update for Adobe Flash Player for Windows Server 2012 (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows8-rt-kb4462930-x64_8eae6587ff9d81d111d9db2a86f6a107cc5c576e.msu

KB      : KB4462930
Arch    : ARM64
Version : 1809
Note    : Update for Adobe Flash Player for Windows 10 Version 1809 for ARM64-based Systems (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-arm64_4331c3089be4dfd515059818f8b6c015c5643ad0.msu

KB      : KB4462930
Arch    : x86
Version : 1809
Note    : Update for Adobe Flash Player for Windows 10 Version 1809 (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x86_ee44cbbd86b3271990ccc472760f0228094131e5.msu

KB      : KB4462930
Arch    : x64
Version : 1809
Note    : Update for Adobe Flash Player for Windows 10 Version 1809 for x64-based Systems (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_b22236a150c0fffaa1b132c7dfbbc844ad6c45e3.msu

KB      : KB4462930
Arch    : x64
Version : 1809
Note    : Update for Adobe Flash Player for Windows Server 2019 (1809) for x64-based Systems (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_b22236a150c0fffaa1b132c7dfbbc844ad6c45e3.msu

KB      : KB4462930
Arch    : ARM64
Version : 1803
Note    : Update for Adobe Flash Player for Windows 10 Version 1803 for ARM64-based Systems (KB4462930)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-arm64_24b09da230c6a260882df62d211e6d1a26ad5dc0.msu

KB      : KB4462930
Arch    : x86
Version : 1803
Note    : Update for Adobe Flash Player for Windows 10 Version 1803 (KB4462930)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x86_b1bd42a524bb4abbd08f66090b69f9432a756de2.msu

KB      : KB4462930
Arch    : x64
Version : 1803
Note    : Update for Adobe Flash Player for Windows 10 Version 1803 for x64-based Systems (KB4462930)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_3a4a1cada2d518585873b6cfdad8b4e7d3ac75cf.msu

KB      : KB4462930
Arch    : x64
Version : 1709
Note    : Update for Adobe Flash Player for Windows 10 Version 1709 for x64-based Systems (KB4462930)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_07407891b70292a936ebf6f115c2b0a410b44654.msu

KB      : KB4462930
Arch    : x86
Version : 1709
Note    : Update for Adobe Flash Player for Windows 10 Version 1709 (KB4462930)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x86_cc8938fa7fd394c8948d1b5dfc84de11715edb8a.msu

KB      : KB4462930
Arch    : ARM64
Version : 1709
Note    : Update for Adobe Flash Player for Windows 10 Version 1709  for ARM64-based Systems (KB4462930)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-arm64_332ecfb5958a87eb6e37206cbd9cf1aa2339659e.msu

KB      : KB4462930
Arch    : x86
Version : 1703
Note    : Update for Adobe Flash Player for Windows 10 Version 1703 (KB4462930)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x86_f3fb8219e526d228e9ae9b44973d7d73376f3367.msu

KB      : KB4462930
Arch    : x64
Version : 1703
Note    : Update for Adobe Flash Player for Windows 10 Version 1703 for x64-based Systems (KB4462930)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_283d641ac17b77160816aa7dd16da317df6bc72e.msu

KB      : KB4462930
Arch    : x64
Version : 1607
Note    : Update for Adobe Flash Player for Windows 10 Version 1607 for x64-based Systems (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_aa56f192a75aac0029cd9a39d5ebf3eb625feebd.msu

KB      : KB4462930
Arch    : x86
Version : 1607
Note    : Update for Adobe Flash Player for Windows 10 Version 1607 (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x86_380e274de951748a3276fe3db5e864e878737111.msu

KB      : KB4462930
Arch    : x64
Version : 1607
Note    : Update for Adobe Flash Player for Windows Server 2016 for x64-based Systems (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_aa56f192a75aac0029cd9a39d5ebf3eb625feebd.msu

KB      : KB4462930
Arch    : x64
Version : 1507
Note    : Update for Adobe Flash Player for Windows 10 Version 1507 for x64-based Systems (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x64_b8f616bfe68d36da56bb5451256ac8b6fb99d986.msu

KB      : KB4462930
Arch    : x86
Version : 1507
Note    : Update for Adobe Flash Player for Windows 10 Version 1507 (KB4462930)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/10/windows10.0-kb4462930-x86_72c899f691403365053da2c53d1097f5065da3c7.msu

If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Run Get-LatestFlash

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • LatestUpdate Version: 2.4.0.89
  • PowerShell Version: 5.1 Build 14409 Revision 1018
  • Operating System: Server 2012 R2

Failure Logs

Please include any relevant log snippets or files here.

Get-LatestServicingStack does not return latest available update.

Expected Behavior

Get-LatestServicingStack returns latest available update.

Current Behavior

Get-LatestFlash is returning two servicing stack updates of 2018-09 and 2018-07 for 1803 of windows 10. These have been both superseded by 2019-02 but it is not returned. I suspect that could also be affecting other versions?

Atom feed suggests that update is on there but so are the older updates too.

<title>Servicing stack update for Windows Server version 1803 and Windows 10, version 1803: February 12, 2019</title>
<id>urn:docid:4485449</id>
<updated>2019-02-12T18:00:30Z</updated>
<content type="text">Provides a servicing stack update for Windows Server, version 1803 and Windows 10, version 1803.</content>
<link href="https://support.microsoft.com/help/4485449" />

Failure Information (for bugs)

PS C:\Windows\system32> Get-LatestServicingStack


KB      : KB4465477
Arch    : x64
Version : 1809
Note    : 2018-10 Update for Windows 10 Version 1809 for x64-based Systems (KB4465477)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/secu/2018/10/windows10.0-kb4465477-x64_d13973c34b767fe1a8487a7664fadeab6ca2cf93.msu

KB      : KB4465477
Arch    : x86
Version : 1809
Note    : 2018-10 Update for Windows 10 Version 1809 for x86-based Systems (KB4465477)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/secu/2018/10/windows10.0-kb4465477-x86_795c3e209aa7a36938e90069101fc71e9bfca954.msu

KB      : KB4465477
Arch    : ARM64
Version : 1809
Note    : 2018-10 Update for Windows 10 Version 1809 for ARM64-based Systems (KB4465477)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/secu/2018/10/windows10.0-kb4465477-arm64_ca4e2745b8355fcd55b0188c1f59a6a152f2759b.msu

KB      : KB4465477
Arch    : x64
Version : 1809
Note    : 2018-10 Update for Windows Server 2019 (1809) for x64-based Systems (KB4465477)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/secu/2018/10/windows10.0-kb4465477-x64_d13973c34b767fe1a8487a7664fadeab6ca2cf93.msu

KB      : KB4456655
Arch    : ARM64
Version : 1803
Note    : 2018-09 Update for Windows 10 Version 1803 for ARM64-based Systems (KB4456655)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/crup/2018/09/windows10.0-kb4456655-arm64_15ceb9f6c9ed695948c2fbb2a01b40b0e3c6044b.msu

KB      : KB4456655
Arch    : x64
Version : 1803
Note    : 2018-09 Update for Windows Server 2016 (1803) for x64-based Systems (KB4456655)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/crup/2018/09/windows10.0-kb4456655-x64_fca3f0c885da48efc6f9699b0c1eaf424e779434.msu

KB      : KB4456655
Arch    : x64
Version : 1803
Note    : 2018-09 Update for Windows 10 Version 1803 for x64-based Systems (KB4456655)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/crup/2018/09/windows10.0-kb4456655-x64_fca3f0c885da48efc6f9699b0c1eaf424e779434.msu

KB      : KB4456655
Arch    : x86
Version : 1803
Note    : 2018-09 Update for Windows 10 Version 1803 for x86-based Systems (KB4456655)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/crup/2018/09/windows10.0-kb4456655-x86_c645a35150e187a62e533d4c877076cb44dc06f6.msu

KB      : KB4343669
Arch    : x86
Version : 1803
Note    : 2018-07 Update for Windows 10 Version 1803 for x86-based Systems (KB4343669)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/crup/2018/07/windows10.0-kb4343669-x86_007e2da4899083bc01c78f625a6458e8643e2bb0.msu

KB      : KB4343669
Arch    : x64
Version : 1803
Note    : 2018-07 Update for Windows Server 2016 (1803) for x64-based Systems (KB4343669)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/crup/2018/07/windows10.0-kb4343669-x64_2a58320e44d3ff803bc7016b5d02f3e85482b46f.msu

KB      : KB4343669
Arch    : x64
Version : 1803
Note    : 2018-07 Update for Windows 10 Version 1803 for x64-based Systems (KB4343669)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/crup/2018/07/windows10.0-kb4343669-x64_2a58320e44d3ff803bc7016b5d02f3e85482b46f.msu

KB      : KB4343669
Arch    : ARM64
Version : 1803
Note    : 2018-07 Update for Windows 10 Version 1803 for ARM64-based Systems (KB4343669)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/crup/2018/07/windows10.0-kb4343669-arm64_1023bc7c5d146941acb54790851e9b7cafe6c4e6.msu

KB      : KB4339420
Arch    : x86
Version : 1709
Note    : 2018-07 Update for Windows 10 Version 1709 for x86-based Systems (KB4339420)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/crup/2018/07/windows10.0-kb4339420-x86_e55a3d3a16a4f22d03cef5032c67fede610fc0fb.msu

KB      : KB4339420
Arch    : x64
Version : 1709
Note    : 2018-07 Update for Windows Server 2016 (1709) for x64-based Systems (KB4339420)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/crup/2018/07/windows10.0-kb4339420-x64_18d8c2fb077e113d43931e6eb8f8cdbb23538157.msu

KB      : KB4339420
Arch    : x64
Version : 1709
Note    : 2018-07 Update for Windows 10 Version 1709 for x64-based Systems (KB4339420)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/crup/2018/07/windows10.0-kb4339420-x64_18d8c2fb077e113d43931e6eb8f8cdbb23538157.msu

KB      : KB4339420
Arch    : ARM64
Version : 1709
Note    : 2018-07 Update for Windows 10 Version 1709 for ARM64-based Systems (KB4339420)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/crup/2018/07/windows10.0-kb4339420-arm64_c88cbe74550acf1739ed84ad72b212bc7ce12956.msu

KB      : KB4487327
Arch    : x64
Version : 1703
Note    : 2019-02 Servicing Stack Update for Windows 10 Version 1703 for x64-based Systems (KB4487327)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/secu/2019/02/windows10.0-kb4487327-x64_c1a253b5e11ab32fe1e16bd58fbde8d561d71cc4.msu

KB      : KB4487327
Arch    : x86
Version : 1703
Note    : 2019-02 Servicing Stack Update for Windows 10 Version 1703 for x86-based Systems (KB4487327)
URL     : http://download.windowsupdate.com/c/msdownload/update/software/secu/2019/02/windows10.0-kb4487327-x86_6c8001b77f99bc949b270b89ece2586d07119a1f.msu

KB      : KB4485447
Arch    : x64
Version : 1607
Note    : 2019-02 Servicing Stack Update for Windows Server 2016 for x64-based Systems (KB4485447)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/secu/2019/02/windows10.0-kb4485447-x64_e9334a6f18fa0b63c95cd62930a058a51bba9a14.msu

KB      : KB4485447
Arch    : x86
Version : 1607
Note    : 2019-02 Servicing Stack Update for Windows 10 Version 1607 for x86-based Systems (KB4485447)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/secu/2019/02/windows10.0-kb4485447-x86_ed10f9407ba2c355d56d52f769016827b0094911.msu

KB      : KB4485447
Arch    : x64
Version : 1607
Note    : 2019-02 Servicing Stack Update for Windows 10 Version 1607 for x64-based Systems (KB4485447)
URL     : http://download.windowsupdate.com/d/msdownload/update/software/secu/2019/02/windows10.0-kb4485447-x64_e9334a6f18fa0b63c95cd62930a058a51bba9a14.msu

If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Run Get-LatestServicingStack

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • LatestUpdate Version: 2.4.0.89
  • PowerShell Version: 5.1 Build 14409 Revision 1018
  • Operating System: Server 2012 R2

Failure Logs

Please include any relevant log snippets or files here.

-Clean Parameter does not work

Expected Behavior

All packages are removed from packagepath when the -clean parameter is used.

Current Behavior

No packages are removed.

Failure Information (for bugs)

When an older update is present in the packagepath e.g an earlier cumulative update in the month (due to there being twice a month sometimes) it will error with the following

VERBOSE: Destination is DS004:\Packages\Windows_10_1803_x64
VERBOSE: Performing the operation "Remove package" on target "Package_for_KB4485449 neutral amd64 17134.580.1.0".
Get-ChildItem : This row has been removed from a table and does not have any data.  BeginEdit() will allow creation of new data in this row.
At C:\Program Files\WindowsPowerShell\Modules\LatestUpdate\2.3.1.81\Public\Import-LatestUpdate.ps1:100 char:13
+             Get-ChildItem | Where-Object { $_.Name -like "Package*" } ...
+             ~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Get-ChildItem], RowNotInTableException
    + FullyQualifiedErrorId : ExceptionCaught,Microsoft.PowerShell.Commands.GetChildItemCommand

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Ensure that an older update is present (Imported) in the package path. This must be one that is not currently offered by Get-LatestUpdate.
  2. Run 'Import-LatestUpdate -UpdatePath "C:\Temp\Updates" -DeployRoot "\SERVER\DeploymentShare$" -PackagePath "Windows_10_1803_x64" -Clean -Verbose'
  3. It will then error upon trying to clean up the first package found in the package path. No further cleaning is performed. Meaning over time packages will build up in MDT.

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • LatestUpdate Version: 2.3.1.81
  • PowerShell Version: 5.1 Build 14409 Revision 1018
  • Operating System: Windows Server 2012 R2

Failure Logs

Please include any relevant log snippets or files here.

Get-LatestUpdate returns delta updates

Expected Behavior

Get-LatestUpdate returns cumulative updates only

Current Behavior

Get-LatestUpdate returns both delta and cumulative updates which will then get downloaded and imported into MDT when automated. Think this may have started happening since January? I have to put an additional filter in place (for the word "cumulative") to avoid this as a workaround in the mean time.

Version param not honored

Describe the bug
The Get-LatestAdobeFlashUpdate and Get-LatestNetFrameworkUpdate functions don't filter the results for the correct version.
And as you can see in the 3rd item in the list if an entry does not have a version number, it picks the OS.

To Reproduce

image

Get-LatestUpdate does not return latest CU

Expected Behavior

Get-LatestUpdate should return latest Cumulative Update as per desired Windows Version and Build. So I'd expect that for example for Windows 2016 Server (-WindowsVersion Windows10 -Build 14393) it should return packages with KB4457127 right now (October 9th, 2018 - check https://support.microsoft.com/en-us/help/4457127).

Based on https://support.microsoft.com/en-us/help/4099479/windows-10-update-history

Current Behavior

Get-LatestUpdate returns KB4343898 as of 2018-08.

Failure Information (for bugs)

PS C:\Users\rhouser> Get-LatestUpdate -WindowsVersion Windows10 -Build 14393 -Verbose
VERBOSE: Adding variable for dynamic parameter 'Build' with value '14393'
VERBOSE: Check updates for 14393 Cumulative.*x64
VERBOSE: Downloading https://support.microsoft.com/app/content/api/content/asset/en-us/4000816 to retrieve the list of
updates.
VERBOSE: GET https://support.microsoft.com/app/content/api/content/asset/en-us/4000816 with 0-byte payload
VERBOSE: received 24901-byte response of content type application/json; charset=utf-8
VERBOSE: Found ID: KB4343887
VERBOSE: GET http://www.catalog.update.microsoft.com/Search.aspx?q=KB4343887 with 0-byte payload
VERBOSE: received 53940-byte response of content type text/html; charset=utf-8
VERBOSE: Ids found:
VERBOSE:  cb91052d-37e8-4caa-bcd8-ec8c84a6aea1
VERBOSE:  0ff8a4be-bcf5-443a-9805-9c5e2f04ab09
VERBOSE:  a746522b-74fd-4a74-a86c-5e45eb1b86df
VERBOSE:  cffa7f5a-126a-48d4-9cb6-5541b12e862e
VERBOSE:  348e720d-750f-481e-b0e0-58bab6ce8538
VERBOSE:  c796509e-8bbb-4de4-b45f-92de37e32d36
VERBOSE: innerText found. Parsing KB notes
VERBOSE: Download cffa7f5a-126a-48d4-9cb6-5541b12e862e
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32188-byte response of content type text/html; charset=utf-8
VERBOSE: Download 348e720d-750f-481e-b0e0-58bab6ce8538
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with -1-byte payload
VERBOSE: received 32153-byte response of content type text/html; charset=utf-8

KB        Note                                                                                     URL
--        ----                                                                                     ---
KB4343887 2018-08 Cumulative Update for Windows 10 Version 1607 for x64-based Systems (KB4343887)  http://download.w...
KB4343887 2018-08 Cumulative Update for Windows Server 2016 for x64-based Systems (KB4343887)      http://download.w...

Steps to Reproduce

Just invoke Get-LatestUpdate -WindowsVersion Windows10 -Build 14393

Context

  • LatestUpdate Version: 1.1.0.38
  • PowerShell Version: 5.1.14393.2515
  • Operating System: Windows 2016 Server

Save-LatestUpdate does not work for WindowsVersion = Windows7

Expected Behavior

"Get-LatestUpdate -WindowsVersion Windows7 | Save-LatestUpdate" should download updates

Current Behavior

Join-Path : Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'ChildPath'. Specified
method is not supported.
At C:\Program Files\WindowsPowerShell\Modules\LatestUpdate\2.3.1.81\Public\Save-LatestUpdate.ps1:83 char:39
+             $target = Join-Path $Path $filename
+                                       ~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Join-Path], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.PowerShell.Commands.JoinPathCommand

This fails only for Windows 7. Windows 8 and 10 works fine.

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • LatestUpdate Version: 2.3.1.81
  • PowerShell Version: 5.1.14393.2758
  • Operating System: Server 2016

Get-LatestUpdate returns incorrect update Note on PowerShell Core

Expected Behavior

Get-LatestUpdate should return the same details on PowerShell Core as on Windows PowerShell.

Current Behavior

Get-LatestUpdate returns the incorrect Note property for the latest update, but returns the correct update URL.

PowerShell Core output

KB   : KB4093105
Note : 2018-04 Cumulative Update for Windows 10 Version 1709 for ARM64-based Systems (KB4093105)
URL  : http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/04/windows10.0-kb4093105-x64_34cd83487c317ce53f547e3e4848ec0f22cb7b14.msu

KB   : KB4093105
Note : 2018-04 Cumulative Update for Windows 10 Version 1709 for ARM64-based Systems (KB4093105)
URL  : http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/04/windows10.0-kb4093105-x64_34cd83487c317ce53f547e3e4848ec0f22cb7b14.msu

Windows PowerShell output

KB   : KB4093105
Note : 2018-04 Cumulative Update for Windows 10 Version 1709 for x64-based Systems (KB4093105)
URL  : http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/04/windows10.0-kb4093105-x64_34cd83487c317ce53f547e3e4848ec0f22cb7b14.msu

KB   : KB4093105
Note : 2018-04 Cumulative Update for Windows Server 2016 (1709) for x64-based Systems (KB4093105)
URL  : http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/04/windows10.0-kb4093105-x64_34cd83487c317ce53f547e3e4848ec0f22cb7b14.msu

Failure Information (for bugs)

VERBOSE: Check updates for 16299 Cumulative.*x64
VERBOSE: Downloading https://support.microsoft.com/app/content/api/content/asset/en-us/4000816 to retrieve the list of updates.
VERBOSE: GET https://support.microsoft.com/app/content/api/content/asset/en-us/4000816 with 0-byte payload
VERBOSE: received 19484-byte response of content type application/json
VERBOSE: Found ID: KB4093105
VERBOSE: GET http://www.catalog.update.microsoft.com/Search.aspx?q=KB4093105 with 0-byte payload
VERBOSE: received 47665-byte response of content type text/html
VERBOSE: Ids found:
VERBOSE:    bbb8bdc7-fb41-4ab8-8c61-3b3f8e0b4fbc
VERBOSE:    d8864385-8573-4989-bff1-030f7737c09b                                                                                                                                             
VERBOSE: 	64c3d414-ea4a-4199-940c-d497f75f22b7
VERBOSE: 	c6a0455a-7fd9-4726-b79c-fb72c14c58ea
VERBOSE: Using outerHTML. Parsing KB notes
VERBOSE: Download d8864385-8573-4989-bff1-030f7737c09b
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with 159-byte payload
VERBOSE: received 32168-byte response of content type text/html
VERBOSE: Download 64c3d414-ea4a-4199-940c-d497f75f22b7
VERBOSE: POST http://www.catalog.update.microsoft.com/DownloadDialog.aspx with 159-byte payload 
VERBOSE: received 32203-byte response of content type text/html 

Steps to Reproduce

  1. On PowerShell Core - Import-Module LatestUpdate
  2. Run Get-LatestUpdate

Unable to find type [System.Switch] and multiple URLs

The Save-LatestUpdate function uses the -ForceWebRequest switch, but it's incorrectly defined.

image

The correct usage would be [System.Management.Automation.SwitchParameter] or simply [Switch] :)


Next to the switch, I found out that Microsoft thinks it's funny to add multiple URLs in an update:

image

In the PR I've put the downloading part into a foreach which will make the function download every single url.

  • OS: [Windows 10]
  • PowerShell version [5.1]

Latest Flash not returning server updates

Hi Aaron,

Something seems to be off with Get-LatestAdobeFlashUpdate. No matter which arguments I provide, it doesn't seem to return the latest flash update for Windows Server 2016/2019.

Here it doesn't return the latest flash update for Windows Server 2019.

image

It also seems to return duplicate entries for build 1607 and also here the update for Server 2016 is missing.

image

Windows 10 Build 17134 not returning update

Expected Behavior

Note of latest CU as seen here

PS C:\Users\sgates-dadmin> Get-LatestUpdate -WindowsVersion Windows10 -Build 16299

KB Note URL


KB4467681 2018-11 Cumulative Update for Windows 10 Version 1709 for x64-based Systems (KB4467681) http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/11/windows10.0-kb4467681-x64_092c977b72ae27aab88c65ab31b81d3d861dda3a.msu
KB4467681 2018-11 Cumulative Update for Windows Server 2016 (1709) for x64-based Systems (KB4467681) http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/11/windows10.0-kb4467681-x64_092c977b72ae27aab88c65ab31b81d3d861dda3a.msu

Current Behavior

No response

PS C:\Users\sgates-dadmin> Get-LatestUpdate -WindowsVersion Windows10 -Build 17134

PS C:\Users\sgates-dadmin> Get-LatestUpdate -WindowsVersion Windows10 -Build 17134

Failure Information (for bugs)

Please help provide information about the failure if this is a bug by issuing the command using the -Verbose command.

PS C:\Users\sgates-dadmin> Get-LatestUpdate -WindowsVersion Windows10 -Build 17134 -Verbose
VERBOSE: Adding variable for dynamic parameter 'Build' with value '17134'
VERBOSE: Check updates for 17134 Cumulative.*x64
VERBOSE: Downloading https://support.microsoft.com/app/content/api/content/feeds/sap/en-us/6ae59d69-36fc-8e4d-23dd-631d98bf74a9/atom to retrieve the list of updates.
VERBOSE: GET https://support.microsoft.com/app/content/api/content/feeds/sap/en-us/6ae59d69-36fc-8e4d-23dd-631d98bf74a9/atom with 0-byte payload
VERBOSE: received -1-byte response of content type application/atom+xml; charset=utf-8
VERBOSE: Found ID: KB4467682
VERBOSE: GET http://www.catalog.update.microsoft.com/Search.aspx?q=KB4467682 with 0-byte payload
VERBOSE: received 30768-byte response of content type text/html; charset=utf-8
VERBOSE: Ids found:
VERBOSE: innerText found. Parsing KB notes```

**_If it is not a bug, please remove the rest of this template._**

## Steps to Reproduce

Please provide detailed steps for reproducing the issue.

Type the command Get-LatestUpdate - WindowsVersion Windows10 -Build 17134

## Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Tested on two machines. Server 2016 and Windows 10 1809. Other builds work.


Export all URs for 2008/2012

first of all, thank you for this awesome module.

What I would like to have is all URs for 2008/2012 available. The script displays/downloads only the latest one. But unfortunately in 2008/2012 are updates not cumulative. So it would be great to have this for VHD build (using convert-windowsimage).

Also it would be great to list latest CU for 2008/2012.

Thank you a lot!

Update Psgallery to recent version

Hi together,
in the psgallery is only the Version 3.0.171 which only supports the release 1903.
is it possible to update it to a recent version?

Thanks!

Get Latest CU for SQL Server

Expected Behavior

Add Cumulative Updates for SQL Server

Current Behavior

None

Failure Information (for bugs)

None

Latest updates are filtered in next month

I am attempting to get the latest updates for Windows 10 1809. The latest .NET updates available are from December. The last update date on them is also December. Whenever this section is run, in the next month (January in this case), if the lastest update's last update date is not January, then it gets filtered, even though the update is the latest for that version of the OS. Basically, this filter needs to be applied on a per-os level, not against the full set of updates in the list.

# Filter again for updates from the most recent month, otherwise we have too many updates

Get-LatestCumulativeUpdate not working for 1909

Expected Behavior

I should be able to get updates for Windows 10 1909

Current Behavior

Get-LatestCumulativeUpdate : Cannot validate argument on parameter 'Version'. 
The " $_ -in $script:resourceStrings.ParameterValues.Windows10Versions " 
validation script for the argument with value "1909" did not return a result 
of True. Determine why the validation script failed, and then try the command 
again.

1909 is not included in LatestUpdate.json, therefore it can't be mapped to a build number which we need to search the Update Feed.

Expected Behavior

It should not return an error

Steps to Reproduce

Get-LatestCumulativeUpdate -Version 1909

Potential Fixes

Let the Get-LatestCumulativeUpdate accept build number as a parameter as this can be used to search for the appropriate update in the Update Feed.

Get-LatestServicingStackUpdate -OperatingSystem WindowsServer fails

Expected Behavior

get-help Get-LatestServicingStackUpdate -examples

Return

...

    -------------------------- EXAMPLE 2 --------------------------
    
    PS C:\>Get-LatestServicingStackUpdate -OperatingSystem WindowsServer
    
    This commands reads the the Windows 10 update history feed and returns an object that lists the most recent Windows Server 2016, 2019 and Semi-Annual Channel Servicing Stack Updates.

Expect that the example work.

Current Behavior

When I try this, it fails:

Get-LatestServicingStackUpdate -OperatingSystem WindowsServer

Failure Information (for bugs)

Get-LatestServicingStackUpdate : Cannot validate argument on parameter 'OperatingSystem'. The " $_ -in $script:resourceStrings.ParameterValues.VersionsAll " validation script for the argumen
t with value "WindowsServer" did not return a result of True. Determine why the validation script failed, and then try the command again.
At line:1 char:49
+ Get-LatestServicingStackUpdate -OperatingSystem WindowsServer
+                                                 ~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Get-LatestServicingStackUpdate], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Get-LatestServicingStackUpdate

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Step 1
    Call Get-LatestServicingStackUpdate -OperatingSystem WindowsServer

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • LatestUpdate Version: Use Get-Module -ListAvailable LatestUpdate
PS C:\Windows\system32> Get-Module -ListAvailable LatestUpdate


    Directory: C:\Program Files\WindowsPowerShell\Modules


ModuleType Version    Name                                ExportedCommands                                                                                                                    
---------- -------    ----                                ----------------                                                                                                                    
Script     3.0.171    LatestUpdate                        {Get-LatestAdobeFlashUpdate, Get-LatestCumulativeUpdate, Get-LatestMonthlyRollup, Get-LatestNetFrameworkUpdate...}                  

Get-LatestServicingStack -OperatingSystem Windows8 throws an error

Expected Behavior

Get-LatestServicingStack -OperatingSystem Windows8 Should return the latest Servicing Stack update

Current Behavior

Throws an error

Failure Information (for bugs)

Please help provide information about the failure if this is a bug by issuing the command using the -Verbose command.

Get-LatestServicingStack -OperatingSystem Windows8 -Verbose                                                 VERBOSE: Get-LatestServicingStackUpdate: get feed for Windows8.
VERBOSE: GET
https://support.microsoft.com/app/content/api/content/feeds/sap/en-us/b905caa1-d413-c90c-bed3-20aead901092/atom with
0-byte payload
VERBOSE: received -1-byte response of content type application/atom+xml; charset=utf-8
VERBOSE: Get-UpdateFeed: retrieved feed.
VERBOSE: Get-UpdateServicingStack: matched item [Servicing Stack Updates (SSU): Frequently Ask Questions]
VERBOSE: Get-UpdateServicingStack: matched item [Servicing stack update for Windows 8.1, RT 8.1, and Server 2012 R2:
November 12, 2019]
VERBOSE: Get-UpdateServicingStack: matched item [Servicing stack update for Windows 8.1, RT 8.1, and Server 2012 R2:
October 8, 2019]
VERBOSE: Get-UpdateServicingStack: matched item [Servicing stack update for Windows 8.1, RT 8.1, and Server 2012 R2:
September 10, 2019]
VERBOSE: Get-UpdateServicingStack: matched item [Servicing stack update for Windows Server 2012, Windows 8.1 and
Windows Server 2012 R2]
VERBOSE: Get-UpdateServicingStack: matched item [Servicing stack update for Windows 8.1 and Windows Server 2012 R2:
July 12, 2016]
VERBOSE: Get-UpdateServicingStack: selected item [Servicing Stack Updates (SSU): Frequently Ask Questions]
VERBOSE: Get-LatestServicingStackUpdate: update count is: .
VERBOSE: Get-LatestServicingStackUpdate: searching catalog for: [].
VERBOSE: Invoke-UpdateCatalogSearch: search Catalog for [KB4535697)]
VERBOSE: GET https://www.catalog.update.microsoft.com/Search.aspx?q=KB4535697 with 0-byte payload
VERBOSE: received 35833-byte response of content type text/html; charset=utf-8
VERBOSE: Get-UpdateCatalogDownloadInfo: returned 0 items from the catalog.
Add-Property : Cannot validate argument on parameter 'InputObject'. The argument is null or empty. Provide an argument
that is not null or empty, and then try the command again.
At C:\temp\LatestUpdate\Public\Get-LatestServicingStackUpdate.ps1:139 char:63
+ ...    $updateListWithVersion = Add-Property @updateListWithVersionParams
+                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Add-Property], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Add-Property

Add-Property : Cannot validate argument on parameter 'InputObject'. The argument is null or empty. Provide an argument
that is not null or empty, and then try the command again.
At C:\temp\LatestUpdate\Public\Get-LatestServicingStackUpdate.ps1:146 char:60
+ ...          $updateListWithArch = Add-Property @updateListWithArchParams
+                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Add-Property], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Add-Property

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Import Module
  2. Run Get-LatestServicingStack -OperatingSystem Windows8

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • LatestUpdate Version: Use Get-Module -ListAvailable LatestUpdate
Get-Module LatestUpdate                                                                                     
ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     3.0.171    LatestUpdate                        {Get-LatestAdobeFlashUpdate, Get-LatestCumulativeUpdate, G...
  • PowerShell Version: Use Get-PSVersion
$PSVersionTable                                                                                             
Name                           Value
----                           -----
PSVersion                      5.1.18362.145
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.18362.145
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
  • Operating System:
Get-WmiObject Win32_OperatingSystem | Select Version, Name                                                  
Version    Name
-------    ----
10.0.18363 Microsoft Windows 10 Enterprise

Proposed Fix

It seems it is because a KB was released with the title "Servicing Stack Updates (SSU): Frequently Ask Questions" which matches the search string. My issue was resolved by updating the resource string to be "ServicingStack" : "^Servicing stack update for.*",

Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.