PS 5.1 treats GenericMeasureInfo.Sum as absent (not null) when the input pipe is empty. StrictMode throws 'property Sum cannot be found'. Replace Measure-Object with an explicit foreach loop for SoftwareDistribution size reporting.
PS 5.1 treats GenericMeasureInfo.Sum as absent (not null) when the input pipe is empty. StrictMode throws 'property Sum cannot be found'. Replace Measure-Object with an explicit foreach loop for SoftwareDistribution size reporting.