title: Powershell script on remote computer not running as a scheduled task
body: <p>I have a script on my domain stored on the Active Directory server. every machine on the domain has a task that when fired, calls this script to run.</p>
  
  <p>Running the task from the AD server works. Running the task from another machine doesn't work. However, running the command that is triggered from cmd manually on the remote computer works?</p>
  
  <p>Could anyone shine some light on this. Basically I call it like this so that the trigger is set up like...</p>
  
  <p>Action: PowerShell.exe</p>
  
  <p>Arguments: -noprofile –ExecutionPolicy Bypass -File "\\&lt;>NameOfADServer&lt;>\C$\Tasks\script.ps1" "Argument 1" "Argument 2"</p>