Select Object From Array Powershell If Elseif In Python For Loops