I’m very new on Powershell world. I need your help to set a new script that downloads a backup using an API script and store it to a shared folder. The script must have the credential secured.
Any one can help me?
I was able to use:
Invoke-WebRequest -Uri website -Headers $headers -OutFile $destination
Could you help me with now store it to server folder with secured credetial stored?