Hi all,
I have a PowerShell script that move a folder, that contains csv files and a txt, from shared folder to s3 Bucket. I have trouble about moving it to s3 bucket when it run automatically by task scheduler without giving any error. But when I run the task scheduler manually it can send to folder to s3.
Copy and paste did not work, I guess. Here is the screen shot of it;
Basically, script takes the xlsx files from shared folder (FileUpload), create new csv files from them in FileDownload and create a folder for new csv files and move folder to s3 bucket but as I mentioned job cannot move the folder to s3 bucket when it run automatically by task scheduler without giving any error. But when I run the task scheduler manually it can send to folder to s3.
Also “Run whether use is logged on or not” is selected in task scheduler.
Program: Powershell.exe
Add Arguments: -ExecutionPolicy Unrestricted -File "F:\Data Upload\ScriptConverttoCSVNew.ps1"
I have very limited information about both PowerShell and s3 bucket. Any help will be appreciated. I searched the problem but I could not find a solution
Thanks in advance
SinemA