Php Function Pass Variable In Powershell Try