Forum Discussion
Curious_Kevin16
Sep 03, 2022Iron Contributor
Upload a large list of folders in to AzureStorage area using AZCopy/Powershell
Hi Guys, I posted this in Azure space but probably its more relevant to PowerShell hence re-posted here 🙂 Newbie to Azure/PowerShell and trying to figure how to script this task. I have a l...
raindropsdev
Sep 03, 2022Iron Contributor
Here you go: https://github.com/Raindrops-dev/RAIN-TechCommunityContributions/blob/main/Start-AzCopyBackup.ps1
The script is kept on purpose very simple (so you can learn and develop it further yourself 🙂 ) but I integrated the log to a file in the same folder which will include all the output and the output of azcopy. There is a lot more you can do but this would be a good start.
Small consideration: ensure that you keep the SAS URL protected, ideally in an Azure Keyvault 😉