Select Object From Array Powershell If Elseif In Python For All Selected Lines