Advertisement
Guest User

Untitled

a guest
Jan 29th, 2013
552
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.27 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment
Advertisement