Powershell Create Function Mysql