Created
August 19, 2016 08:48
-
-
Save papeMK2/24ea0442ed59a4d4cfdd4bb52bb246a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$StorageAccountName = "Storage Account Name" | |
$StorageAccountKey = "Storage Account Access Key" | |
$ContainerName = "Container Name" | |
$fileName = "Filtering file name" | |
$Context = New-AzureStorageContext -StorageAccountName $StorageAccountName -StorageAccountKey $StorageAccountKey | |
$Container = Get-AzureStorageContainer -Context $context -Name $ContainerName | |
$Blobs = Get-AzureStorageBlob -Container $Container.Name -Context $Context | Where-Object { | |
$_.Name -eq $FileName | |
} | |
$Blobs | Get-AzureStorageBlobContent -Destination "./" -Context $Context -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment