Get Array Index Powershell If And Operator