'Powershell script scheduled tasks don't work
I have created a backup script using xcopy and it generates log files for me on the current date.
Nevertheless, I wanted to couple it with the task scheduler so that my script runs every night at 7pm but after many tests my script with the task scheduler does not "work".
while by launching it manually everything goes well. I need your help :)
Here is what I put in my task: Program/script: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Add arguments: PowerShell -ExecutionPolicy Unrestricted -WindowStyle Hidden -File "C:\Users\Caeko\Documents\Power\log.ps1"
Thank you very much!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
