Sum a list of numbers

$sum = $NumberArray | Measure-Object -Sum
$sum.Sum
Details
Use to get the sum of a number array

Example
PS C:\> $NumberArray = 10,23,24,43,118,23,43
>> $sum = $NumberArray | Measure-Object -Sum
>> $sum.Sum

284