Just curious if it is possible to use the Where Method in combination with the ForEach loop?
$numbers = @(1..10) ForEach($number in $numbers.Where({$number =