Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
malachicorrigan opened this issue May 31, 2024 · 3 comments

Comments

@malachicorrigan
Copy link

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
    
    
@C-Blais
Copy link

C-Blais commented Jul 9, 2024

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.

@andrewmaspero
Copy link

Also getting the exact same error.

@DXCMSparks
Copy link

Also getting this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants