Invoking a Powershell script in c#

194 views Asked by At

I am new to scripting. I created a ps1 file that I want to deploy to Sharepoint Central Admin to create a Timer Job. I created a Timer Job script using C#, how can I go about calling the ps1 file within my C# program? How would I execute my script Ex: C:\MyItems.ps1?

0

There are 0 answers