Powershell Find Index Of String Java