I'm trying to download multiple images from a site using PowerShell and the following command:
Import-csv text.csv | Start-BitsTransfer -UseStoredCredential proxy
The server requires authentication and this command did not work. To download a single image I previously used the following command:
Invoke Web-Request Uri - <URL> -UseDefaultCredentials - Outfile <path>```
UseDefaultCredentials worked for that command, but UseStoredCredential does not work for Start-BitsTransfer. Does anyone know why?