Here is a powershell script to search azure’s blob storage by file extension:
Install Azure powershell
See https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-6.2.1 for more information.
$StorageAcctName = 'STORAGE ACCT NAME'
$StorageAcctKey = 'SECURE KEY HERE'
$ContainerName = 'myfiles'
$StorageContext = New-AzureStorageContext -StorageAccountName $StorageAcctName -StorageAccountKey $StorageAcctKey
$blobs = Get-AzureStorageBlob -Container $ContainerName -Context $StorageContext -MaxCount 10
Write-Output $blobs | Where-Object {$_.Name -like "*.jpg"} | Select-Object {$_.Name}
Write-Output "-- Search finished --"
Comments