Example Powershell Script With Functions In C