title: .NET API to run powershell scripts
body: <p>I am not sure how to approach on this , I am looking for any reference or hint to create REST API using C#.NET that will run power shell script saved in .PS1 file and return Json media type. I have limited experience with API with data model. but Since this one won't have model I am lost. Especially for Collection of objects. I need to run script and return the shell output in Json format. Thanks</p>