Powershell Function Definition In C