Forum Discussion
LukeGrev
Jul 23, 2021Copper Contributor
Task scheduler not working with powershell
Hi All, Ive created my first powershell script to automatically send an email with an attachment. When i run the script in Powershell on its own, it works fine but then when i try to schedule i...
Jul 23, 2021
this is my config when i need to call ps from task sched
program
C:\Windows\system32\windowspowershell\v1.0\powershell.exe
arguments
-noprofile -command E:\Path\Script.ps1
program
C:\Windows\system32\windowspowershell\v1.0\powershell.exe
arguments
-noprofile -command E:\Path\Script.ps1
- Jul 28, 2021
LukeGrev Returning here to see if you could resolve this