title: HTML Web page that Launches a powershell script
body: <p>I am trying to find a way to host a website on a windows server in my environment. I would like to have a basic web page that can accept an entry value from the web page and then I would take that value and input it into my powershell script. My powershell script would do most the work but I have no idea how to collect data from the user and then make that data appear in my powershell script. The powershell script would run on the server side (not in front of the user) and then email them data that it collects. I would like to have a single webpage if possible. I tried to do that but also couldnt really figure that out. </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt; Self Service&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;h1&gt;Welcome to the Self Service&lt;/h1&gt;
  &lt;p&gt;Below you can enter your userID .&lt;/p&gt;
  
  &lt;form action="ThankYou.html" method="post"&gt;
  UserID: &lt;input type="text" name="text"&gt;&lt;br&gt;
  &lt;input type="submit" value="Submit"&gt;
  &lt;/form&gt;
  
  
  &lt;input type="button" value="Launch Installer" onclick=
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>