Certain agents require that the PowerShell execution policy be set to RemoteSigned or above. 


This allows PowerShell scripts to be executed however they must be signed by a trusted publisher.

  • Start PowerShell as an Administrator

  • Run the Set-ExecutionPolicy cmdlet with the parameter RemoteSigned
    Set-ExecutionPolicy RemoteSigned

  • You may be prompted to confirm the change of policy.


 



Checking Current Policy

To determine the current execution policy