Shell Script Loop Through Array Powershell If And Operator