I'm uploading a VHD from my local computer to a new Azure managed disk, but it becomes unhealthy.

2023-12-27T01:56:35.5166667+00:00

The contents entered in Azure PowerShell and the error message are as follows.


PS /home/zz> $path = "c:\Temp\Win10_22H2_JP.vhd"

PS /home/zz> $resourceGroup = "xxxxxxxxx"

PS /home/zz> $location = "yyyyyyyyy"          

PS /home/zz> $name = "nnnnnnnnn"

PS /home/zz> Add-AzVhd -LocalFilePath $path -ResourceGroupName $resourceGroup -Location $location -DiskName $name                                                               

Add-AzVhd: Cannot find drive. A drive with the name 'c' does not exist.

PS /home/zz>


Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
590 questions
{count} votes