Powershell Script Loop Through Arraylist Java