Php Optional Function Parameters Powershell Script If Statement