Working with Windows Azure Storage –Download Blob files – PowerShell

How to download blob files from the storage container.   Import-Module “C:Program Files (x86)Microsoft SDKsAzurePowerShellServiceManagementAzureAzure.psd1” Import-AzurePublishSettingsFile C:AzureAzure_credentials_file.publishsettings Get-AzureStorageAccount | select StorageAccountName Set-AzureSubscription -SubscriptionName “SubscriptionName” -CurrentStorageAccountName “dbproxazurestorage” Get-AzureStorageContainer  “containerstorage”  | Get-AzureStorageBlob | Get-AzureStorageBlobContent –Destination “C:AzureAzureStorageTableStoreblob_files_azurestorage”

Working with Windows Azure Storage –Azure Table Storage – PowerShell Part – 1

Azure Table Storage is a fault-tolerant, ISO 27001 certified NoSQL key-value store. Azure Table Storage can be useful for applications that must store large amounts of non-relational data, and need additional structure for that data. Tables offer key-based access to un-schematized data at a low cost for applications with simplified data-access patterns. While Azure Table […]

Working with Windows Azure Storage –Remove Storage Blob- PowerShell Part – 6

Create the New-AzureStorageContext  and use the below command to delete the files. —-Creating Azure Storage Context— Import-Module “C:Program Files (x86)Microsoft SDKsAzurePowerShellServiceManagementAzureAzure.psd1” Import-AzurePublishSettingsFile C:AzureAzure_credentials_file.publishsettings $subscriptionName = “Subscription Name” $storageAccountName = “Storage Account Name” Select-AzureSubscription $subscriptionName $storageaccountkey = get-azurestoragekey $storageAccountName | %{$_.Primary} $destContext = New-AzureStorageContext -StorageAccountName $storageAccountName -StorageAccountKey $storageaccou… Get-AzureStorageBlob -Container containerstorage -Context $destContext Get-AzureStorageBlob -Container containername […]

Working with Windows Azure Storage –– PowerShell Part – 1

  This post explains working with Windows Azure Storage using PowerShell.   Import the Azure Module Import-Module “C:Program Files (x86)Microsoft SDKsAzurePowerShellServiceManagementAzureAzure.psd1” Import AzurePulishingSettingFile (How to get AzurePublishingSettingFile) Import-AzurePublishSettingsFile C:AzureAzure_credentials_file.publishsettings