Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4782

.NET API to run Powershell scripts [closed]

$
0
0

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 Powershell 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.


Viewing all articles
Browse latest Browse all 4782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>