PSWindowsUpdate icon indicating copy to clipboard operation
PSWindowsUpdate copied to clipboard

Get-WUOfflineMSU : Specified argument was out of the range of valid values

Open malachicorrigan opened this issue 1 year ago • 4 comments

Cannot use Get-WUOfflineMSU no matter what parameters I use, even if I copy exactly the example. Please see the information below as well as the screenshot

ps_err

PS C:\Users\WDAGUtilityAccount> Get-WUOfflineMSU -KBArticleID "KB5031539" -Destination "C:\Temp" -Debug DEBUG: 5/31/2024 5:37:37 PM CmdletStart: Get-WUOfflineMSU DEBUG: 5/31/2024 5:37:38 PM http://www.catalog.update.microsoft.com/Search.aspx?q=KB5031539 VERBOSE: Found [6] Updates in Microsoft Update Catalog DEBUG: 5/31/2024 5:37:40 PM Show update to accept: 2023-10 Servicing Stack Update for Windows 10 Version 22H2 for ARM64-based Systems (KB5031539) DEBUG: 5/31/2024 5:37:43 PM Accepted DEBUG: 5/31/2024 5:37:43 PM [{"uidInfo":"5365a46b-703d-476b-9263-93e956e08de8","updateID":"5365a46b-703d-476b-9263-93e956e08de8","size":0}] Get-WUOfflineMSU : Specified argument was out of the range of valid values. Parameter name: i At line:1 char:1

  • Get-WUOfflineMSU -KBArticleID "KB5031539" -Destination "C:\Temp" -Deb ...
  •   + CategoryInfo          : NotSpecified: (:) [Get-WUOfflineMSU], ArgumentOutOfRangeException
      + FullyQualifiedErrorId : System.ArgumentOutOfRangeException,PSWindowsUpdate.GetWUOfflineMSU
    
    

malachicorrigan avatar May 31 '24 21:05 malachicorrigan

Getting the same error. I've tried looking through the code and help articles for clues for how to get it to work but there's been no change. Maybe helpful but it seems the function is expecting a single entry to be returned but multiple results are actually returned.

C-Blais avatar Jul 09 '24 21:07 C-Blais

Also getting the exact same error.

andrewmaspero avatar Jul 26 '24 02:07 andrewmaspero

Also getting this issue.

DXCMSparks avatar Dec 20 '24 12:12 DXCMSparks

Also getting this issue.

Me too

Tekkie-Boy avatar Feb 28 '25 10:02 Tekkie-Boy