SHARE
TWEET

Untitled

a guest Jan 29th, 2013 388 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>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top