HTML Web page that Launches a powershell script
You have several frameworks/modules for this:
- Powershell Server [commercial]
- Powershell Pipeworks
- Posh Server
I used them all and the last one is probably the best for getting started and do what you want. Pipeworks is too complicated and ugly for me.
You should also consider Powershell Web Access instead of Web application .
Perhaps the best option would be to use scriptcs and execute posh scripts from within its script. See here for more details.
Try Presley? A Sinatra-like lightweight web framework written in PowerShell and can run PowerShell on server.