Functions In Powershell With Parameters In Java