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