Skip to content

DownloadLatestCUs.ps1 - Broken - Change Int32 to Long #627

Description

@war59312

Looks like a problem downloading updates now.

I tend to get this error:

Cannot convert value "3212082007" to type "System.Int32". Error: "Value was either too large or too small for an Int32."
At C:\Program Files\WindowsPowerShell\Modules\MSCatalog\0.27.0\Classes\MSCatalogUpdate.Class.ps1:22 char:9
+         $this.SizeInBytes = [Int] $Cells[6].SelectNodes("span")[1].In ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvalidCastFromStringToInteger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions