Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select name="schooldept">
- <?php
- // 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;
- ?>
- </select>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement