You can use the script suggested on Stack Overflow (answer by John Bull):
Download a list of specific files from Azure Blob
https://stackoverflow.com/questions/69408837/download-a-list-of-specific-files-from-azure-blob
$accountName = "account-name"
$accountKey = "account-key"
$containerName = "container-name"
$context = New-AzStorageContext -StorageAccountName $accountName -StorageAccountKey $accountKey
$destination = "C:\temp"
$blobNames = Get-Content $destination\list.txt
For ($i=0; $i -lt $blobNames.Length; $i++) {
$blob = $blobNames[$i]
Write-Host "Downloading $blob. Please wait."
Get-AzStorageBlobContent -Blob $blob -Container $containerName -Destination $destination -Context $context -Verbose
}
It'll work like a charm, given that the text file that holds a list of file names for the blobs you need to download is located in the '$destination' directory (could be any directory on your PC, though). p.s., the files just need to be listed as one column (separated by a caret return, i.e., "\n" at the end of each file name). Thanks @Anonymous Mantri for the solution.
Documentation for Get-AzStorageBlobContent
You will also need to ensure you have the Az Module (Install the Azure Az PowerShell module)
https://learn.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-8.2.0
-------------------------------
If this is helpful please mark as correct answer.