amaru96
amaru96

Reputation: 191

Download Azure managed disk to local via powershell

With the ability now to export a managed disk and download it locally via the portal, is there a way to do this via powershell?

Or do you still need to first copy it to a storage account and then pull it down?

As per this post: Download Azure VHD to local use powershell

Upvotes: 0

Views: 1780

Answers (1)

Charles Xu
Charles Xu

Reputation: 31424

The short answer is yes, the managed disk would not show the URL that you need to download from Azure through PowerShell, even if it is also just a VHD file. So you should first get the VHD file URL through copying it to a storage account blob. Then you can download it with the ways you want. I suggest the AzCopy that provide in your link.

Or you can just generate URL and then download it in the Azure Portal without copy it to a storage account first. Hope this will help.

Upvotes: 1

Related Questions