I need to run an automated power shell script.
It downloads a file from the the website and places it in the correct folder on the network drive.
I got the script to run manually by right-clicking and run with powershell but haven't had any luck automating. I've attempted to setup in task scheduler but it hasn't worked.
Attached is the script I run.
Any help is appreciated.