Select Range In Array Powershell If Statement