Php Optional Function Parameters Powershell Script Generator