Select Object From Array Powershell If Statement