I have a PowerShell script that monitors an image folder. I need to find a way to automatically run this script after the computer starts.
I already tried the follow
Be sure, whenever you want PowerShell to run automatically / in the background / non-interactive, it’s a good idea to specify the parameters -ExecutionPolicy Bypass to PowerShell.exe
-ExecutionPolicy Bypass
PowerShell.exe -ExecutionPolicy Bypass