MSLab icon indicating copy to clipboard operation
MSLab copied to clipboard

DownloadLatestCUs.ps1 - Broken - Change Int32 to Long

Open war59312 opened this issue 6 months ago • 0 comments

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

war59312 avatar Jun 05 '25 21:06 war59312