Showing all posts tagged: 'blob'

A 1-post collection

Copying VHDs between private storage accounts

If you ever need to copy VHDs between two different storage account, you can use the PowerShell script below to do it in few steps: Perform the copy Firstly select the subscription you need to work with. Select-AzureSubscription "MySubscriptionName" Define the source VHD - authenticated container. You can get the vhd name and url from the portal $srcUri = "https://mysubscription.blob.core.windows.net/vhds/yourvhdname.vhd" Define the source Storage Account. This is where the vhd is currently located. The Private key can be acquired from the azure portal $srcStorageAccount = "sourceStorageAccount" $srcStorageKey = "GET KEY FROM PORTAL" Define the destination …[read more]