Php Optional Function Parameters Powershell Script