I have a daily running Powershell script which downloads a csv file from a site.
the code is :
$oppo_url = "https://itisawebsite?export=1&enc=UTF-8&xf=csv"
Start-Process $oppo_url
Start-Process
will invoke Chrome which is my default browser and download the csv to my local Download
folder, but I want the process to download the file to a designated folder, would it be possible?
I tried to add -WorkingDirectory 'C:\Users\myfolder\
but it didn't work.