Powershell Script Get User Input For Array In Java