Powershell Script Function With Parameters In C