I'd start here to try and, first, define the issues you will need to address in executing a PowerShell script on a "remote" computer via C#:
CodeProject article: Enable Remote PowerShell Execution in C# Jun 3, 2014: [
^] "... describes how to execute PowerShell scripts locally or remotely in C# code."
And, I suggest you also study these:
PowerShell module in C#, Part 1: The basics Mar 18, 2014: [
^] "In this series we will cover the basics of building a Windows PowerShell binary module using C#."
CodeProject article: How to run PowerShell scripts from C#: Mar 31, 2007 [
^] "An article on embedding and/or launching PowerShell scripts from a C# program."