Running PowerShell file in C#, how to do that in an ASP.NET form?
Posted
by samir
on Stack Overflow
See other posts from Stack Overflow
or by samir
Published on 2009-04-16T05:11:00Z
Indexed on
2010/03/28
21:03 UTC
Read the original article
Hit count: 219
I have made a PowerShell script, which is running perfectly fine and generating a text file when I run it standalone. I wanted to automate that whenever my ASP.NET page loads I invoke a process from C# that calls my PowerShell script and executes that leading to a text file being generated.
The problem is the script is being called, but not excuted. Giving some error about permissions, etc.
© Stack Overflow or respective owner