Powershell Custom Function Multiple Parameters Java