Powershell Advanced Function Parameters Js