hi
I wish to create a Powershell script to automate a download file from a URL. The challenge is that the website takes a parameter as input as Account number and then it gives the file download link. Everyday there is a new file it creates with file name as date and give download link. When i try to inspect the download link, it says javascript.
how to find the parameter from the website it takes to get in to the download urL. The url portion does not change after passing the input in the account number.
How to form a script with input of this account number with invoke-webrequest?
how to create a download url and pass it to the invoke-webrequest command?
Please help as this is something new to me in powershell to try for a URL based automation.