Best way to execute powershell via post requests. RRS feed

  • Question

  • We are looking to execute powershell scripts via another system sending POST requests. We have successfully done this with a powershell http listener as well as with Azure functions.  What we are looking to do is essentially the same as an Azure function but on-site.  I have seen examples of PHP launching powershell from a page but nothing exactly like what we need. We have no need for a web interface, just a server (IIS?) accepting post requests with parameters, passing them to the script and returning the results.
    • Moved by Bill_Stewart Thursday, March 14, 2019 11:26 PM Unanswerable drive-by question
    Tuesday, November 20, 2018 8:38 PM

All replies

  • You would have to create a custom web application.  This is not the correct  forum for what you are asking.  Post in the web developers forums here: http://forums.asp.net


    Tuesday, November 20, 2018 8:51 PM