How to call Powershell Script function from C# ?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello,<br/><br/>I have a Powershell script something like this :<br/><br/>function DoSomething([String]$code, [string]$somemore<br/>{<br/> Powershell Calls<br/>}<br/><br/>I want to call the above from C# and I was wondering if someone can tell me how to ?

View the full article
 
Back
Top