We have a web portal which stores files in a azure blob conatiner by uploading from UI in different folder sturcture based on category, location, market ..etc inside same container. Now we have to copy some specific files from this container to another container with same folder struture.
- Find out the files which need to be copy to another conatine byt using this script File Name List and create source csv file as given in sample file.
- Filter (exclude files having extention like .doc/.docx/.ppt/.pptx/.pdf/.txt etc)
- Batch Execution by setting up batch size in script
- Exception Handling
- Logging
- Copy status as output file
- Azure Storage Account Name
- Azure Storage Account Key
- Azure Blob Container Name
- Powershell Az Module
- New-AzStorageContext
- Get-AzStorageBlob
- Copy-AzStorageBlob
- Export-Csv