$sum = $NumberArray | Measure-Object -Minimum
$sum.Minimum
Use to get the minimum value of a number array
PS C:\> $NumberArray = 10,23,24,43,118,23,43 >> $sum = $NumberArray | Measure-Object -Minimum >> $sum.Minimum 10
$sum = $NumberArray | Measure-Object -Minimum
$sum.Minimum
DetailsPS C:\> $NumberArray = 10,23,24,43,118,23,43 >> $sum = $NumberArray | Measure-Object -Minimum >> $sum.Minimum 10