0

I have a powershell script that if I open Powershell (right click> run as administrator) and post the code it works just fine. However when I try to create a task in task scheduler, the script will not work. I am assuming I need to sign the powershell script. I searched for a fix and came up with a Command that uses "makecert" however when I try to run it I get" 'makecert' is not recognized as an internal or external command.

Spidy
  • 3
  • 2

1 Answers1

1

you can just use "-ExecutionPolicy Bypass" in the program task arguments.