Advertisement
Guest User

Untitled

a guest
Jan 29th, 2013
503
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <select name="schooldept">
  2. <?php
  3. // Path to the Powershell Script
  4. $psScriptPath = psPath . "\\get-dept-groups.ps1";
  5. // Execute query, followed followed by data submitted by the form.
  6. $query = shell_exec("powershell -command $psScriptPath< NUL");
  7. echo $query;
  8. ?>
  9. </select>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement