Advertisement
Guest User

Untitled

a guest
Feb 10th, 2014
247
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.     echo "testing o365 connection <br />";
  3.     $psScriptPath = "F:\\inetpub\\wwwroot\\website\\tasks\\Office365\\get-msoluser.ps1";
  4.     $query = shell_exec("powershell -command $psScriptPath< NUL");
  5.     echo $query;
  6. ?>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement